diff --git a/.config/lingo.dic b/.config/lingo.dic index ad3b63b..4c41349 100644 --- a/.config/lingo.dic +++ b/.config/lingo.dic @@ -1,6 +1,7 @@ 100 async bitflags +CMD CoreAudio CSS Ctrl @@ -10,6 +11,7 @@ FreeType2 GDI I420 I444 +JSON kilobits libobs luma @@ -24,6 +26,7 @@ RGBA RPC RTMP runtime +selectable serialize Sinus9 sRGB @@ -32,6 +35,7 @@ timestamp TLS tokio UI +unversioned URI username VLC diff --git a/src/client/inputs.rs b/src/client/inputs.rs index 8461cc1..6611b56 100644 --- a/src/client/inputs.rs +++ b/src/client/inputs.rs @@ -218,7 +218,7 @@ impl<'a> Inputs<'a> { .await } - /// Gets the audio monitor type of an input. + /// Gets the audio monitor type of input. /// /// - `input_name`: Name of the input to get the audio monitor type of. pub async fn get_input_audio_monitor_type(&self, input_name: &str) -> Result { @@ -230,7 +230,7 @@ impl<'a> Inputs<'a> { .map(|amt| amt.monitor_type) } - /// Sets the audio monitor type of an input. + /// Sets the audio monitor type of input. /// /// - `input_name`: Name of the input to set the audio monitor type of. /// - `monitor_type`: Audio monitor type. diff --git a/src/client/sources.rs b/src/client/sources.rs index e35826e..8d64433 100644 --- a/src/client/sources.rs +++ b/src/client/sources.rs @@ -35,7 +35,7 @@ impl<'a> Sources<'a> { .map(|id| id.image_data) } - /// Saves a screenshot of a source to the filesystem. + /// Saves a screenshot of a source to the file system. /// /// The [`image_width`] and [`image_height`] parameters are treated as "scale to inner", meaning /// the smallest ratio will be used and the aspect ratio of the original resolution is kept. If diff --git a/src/requests/mod.rs b/src/requests/mod.rs index 395c6da..a960d77 100644 --- a/src/requests/mod.rs +++ b/src/requests/mod.rs @@ -17,7 +17,7 @@ mod ser; pub(crate) enum ClientRequest<'a> { /// Response to [`Hello`](crate::responses::ServerMessage::Hello) message, should contain - /// authentication string if authentication is required, along with PubSub subscriptions and + /// authentication string if authentication is required, along with Pub-sub subscriptions and /// other session parameters. Identify(Identify), /// Sent at any time after initial identification to update the provided session parameters. @@ -69,7 +69,7 @@ impl<'a> Serialize for ClientRequest<'a> { } /// Response to [`Hello`](crate::responses::ServerMessage::Hello) message, should contain -/// authentication string if authentication is required, along with PubSub subscriptions and other +/// authentication string if authentication is required, along with Pub-sub subscriptions and other /// session parameters. #[skip_serializing_none] #[derive(Serialize)]