From 7c50bc8e01c629e5c476c10b612957bd11b0078d Mon Sep 17 00:00:00 2001 From: Michael Bleuez Date: Tue, 6 Sep 2022 20:05:06 +0200 Subject: [PATCH] formatting --- src/daemonizer.rs | 2 -- src/interpreter.rs | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/daemonizer.rs b/src/daemonizer.rs index f7aa8fbc..86661aa5 100644 --- a/src/daemonizer.rs +++ b/src/daemonizer.rs @@ -2,8 +2,6 @@ Derived from https://github.com/immortal/fork */ - - /// Fork result pub enum Fork { Parent(libc::pid_t), diff --git a/src/interpreter.rs b/src/interpreter.rs index 4a872311..b0fda31f 100644 --- a/src/interpreter.rs +++ b/src/interpreter.rs @@ -65,7 +65,8 @@ pub trait Interpreter: ReplLikeInterpreter { fn set_current_level(&mut self, level: SupportLevel); fn get_data(&self) -> DataHolder; - fn get_nvim_pid(data: &DataHolder) -> String { // associated utility function + fn get_nvim_pid(data: &DataHolder) -> String { + // associated utility function data.nvim_pid.to_string() }