diff --git a/src/config.rs b/src/config.rs index fcf9f7d..223f2a6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -73,4 +73,4 @@ impl Config { return mpv_home + "rpc.json" } -} \ No newline at end of file +} diff --git a/src/discord_client.rs b/src/discord_client.rs index 470467f..d290a1b 100644 --- a/src/discord_client.rs +++ b/src/discord_client.rs @@ -272,4 +272,4 @@ impl MpvRequester for DiscordClient { fn next_request<'a>(&mut self) -> Option { self.mpv_requests.pop_back() } -} \ No newline at end of file +} diff --git a/src/lib.rs b/src/lib.rs index 6548670..a4e740f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,4 +23,4 @@ fn mpv_open_cplugin(handle: *mut mpv_handle) -> std::os::raw::c_int { plugin.run(); return 0; -} \ No newline at end of file +} diff --git a/src/logging.rs b/src/logging.rs index 7af0461..57f982f 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -64,4 +64,4 @@ impl Logger { println!("[mpv-rpc (ERROR)] {}", message); } } -} \ No newline at end of file +} diff --git a/src/logging/macros.rs b/src/logging/macros.rs index 064a065..d38642d 100644 --- a/src/logging/macros.rs +++ b/src/logging/macros.rs @@ -23,4 +23,4 @@ macro_rules! info { } #[allow(unused_imports)] -pub use {error, warning, info}; \ No newline at end of file +pub use {error, warning, info}; diff --git a/src/mpv_event_queue.rs b/src/mpv_event_queue.rs index c33e186..c53312f 100644 --- a/src/mpv_event_queue.rs +++ b/src/mpv_event_queue.rs @@ -141,4 +141,4 @@ impl MpvEventQueue { } } -} \ No newline at end of file +} diff --git a/src/mpv_event_queue/events.rs b/src/mpv_event_queue/events.rs index 020cdc6..a11aaf6 100644 --- a/src/mpv_event_queue/events.rs +++ b/src/mpv_event_queue/events.rs @@ -30,4 +30,4 @@ pub trait MpvEventHandler { pub trait MpvRequester { fn next_request<'a>(&mut self) -> Option; -} \ No newline at end of file +} diff --git a/src/plugin.rs b/src/plugin.rs index 4f9e924..45d8f7c 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -65,4 +65,4 @@ impl RPCPlugin { logging::error!(self.logger, "Failed to handle mpv request: {e}"); } } -} \ No newline at end of file +} diff --git a/src/utils.rs b/src/utils.rs index a9482a0..dbe10da 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -12,4 +12,4 @@ pub fn truncate_string_fmt(current: &mut String, length: usize) { truncate_string(current, length - 3); current.push_str("..."); -} \ No newline at end of file +}