Added trailing newlines

This commit is contained in:
Ryze 2023-02-06 23:35:53 +03:00
parent b87a0cf5d9
commit e0ad439616
9 changed files with 9 additions and 9 deletions

View file

@ -73,4 +73,4 @@ impl Config {
return mpv_home + "rpc.json" return mpv_home + "rpc.json"
} }
} }

View file

@ -272,4 +272,4 @@ impl MpvRequester for DiscordClient {
fn next_request<'a>(&mut self) -> Option<MpvRequest> { fn next_request<'a>(&mut self) -> Option<MpvRequest> {
self.mpv_requests.pop_back() self.mpv_requests.pop_back()
} }
} }

View file

@ -23,4 +23,4 @@ fn mpv_open_cplugin(handle: *mut mpv_handle) -> std::os::raw::c_int {
plugin.run(); plugin.run();
return 0; return 0;
} }

View file

@ -64,4 +64,4 @@ impl Logger {
println!("[mpv-rpc (ERROR)] {}", message); println!("[mpv-rpc (ERROR)] {}", message);
} }
} }
} }

View file

@ -23,4 +23,4 @@ macro_rules! info {
} }
#[allow(unused_imports)] #[allow(unused_imports)]
pub use {error, warning, info}; pub use {error, warning, info};

View file

@ -141,4 +141,4 @@ impl MpvEventQueue {
} }
} }
} }

View file

@ -30,4 +30,4 @@ pub trait MpvEventHandler {
pub trait MpvRequester { pub trait MpvRequester {
fn next_request<'a>(&mut self) -> Option<MpvRequest>; fn next_request<'a>(&mut self) -> Option<MpvRequest>;
} }

View file

@ -65,4 +65,4 @@ impl RPCPlugin {
logging::error!(self.logger, "Failed to handle mpv request: {e}"); logging::error!(self.logger, "Failed to handle mpv request: {e}");
} }
} }
} }

View file

@ -12,4 +12,4 @@ pub fn truncate_string_fmt(current: &mut String, length: usize) {
truncate_string(current, length - 3); truncate_string(current, length - 3);
current.push_str("..."); current.push_str("...");
} }