Added trailing newlines
This commit is contained in:
parent
b87a0cf5d9
commit
e0ad439616
9 changed files with 9 additions and 9 deletions
|
@ -73,4 +73,4 @@ impl Config {
|
|||
|
||||
return mpv_home + "rpc.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -272,4 +272,4 @@ impl MpvRequester for DiscordClient {
|
|||
fn next_request<'a>(&mut self) -> Option<MpvRequest> {
|
||||
self.mpv_requests.pop_back()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,4 +23,4 @@ fn mpv_open_cplugin(handle: *mut mpv_handle) -> std::os::raw::c_int {
|
|||
|
||||
plugin.run();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,4 +64,4 @@ impl Logger {
|
|||
println!("[mpv-rpc (ERROR)] {}", message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,4 +23,4 @@ macro_rules! info {
|
|||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
pub use {error, warning, info};
|
||||
pub use {error, warning, info};
|
||||
|
|
|
@ -141,4 +141,4 @@ impl MpvEventQueue {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,4 @@ pub trait MpvEventHandler {
|
|||
|
||||
pub trait MpvRequester {
|
||||
fn next_request<'a>(&mut self) -> Option<MpvRequest>;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,4 +65,4 @@ impl RPCPlugin {
|
|||
logging::error!(self.logger, "Failed to handle mpv request: {e}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,4 +12,4 @@ pub fn truncate_string_fmt(current: &mut String, length: usize) {
|
|||
|
||||
truncate_string(current, length - 3);
|
||||
current.push_str("...");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue