Fix cargo-spellcheck warnings

This commit is contained in:
Dominik Nakamura 2021-12-19 21:14:18 +09:00
parent d27b81cc7d
commit 36e09efcd9
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910
4 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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<MonitorType> {
@ -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.

View File

@ -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

View File

@ -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)]