From e6d8efeb2b97d96b42d1343c3baecaefba8f6eb0 Mon Sep 17 00:00:00 2001 From: Kees Hink Date: Sat, 18 Nov 2023 14:06:49 +0100 Subject: [PATCH] Fix spelling: replace "it's" with "its" where a possessive is meant --- PUBLISHING.md | 2 +- docs/connection.md | 2 +- metadata/src/artist.rs | 2 +- playback/src/audio_backend/alsa.rs | 4 ++-- playback/src/player.rs | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/PUBLISHING.md b/PUBLISHING.md index 9d32caad..3859c90a 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -4,7 +4,7 @@ Read through this paragraph in its entirety before running anything. -The Bash script in the root of the project, named `publish.sh` can be used to publish a new version of librespot and it's corresponding crates. the command should be used as follows from the project root: `./publish 0.1.0` from the project root, substituting the new version number that you wish to publish. *Note the lack of a v prefix on the version number. This is important, do not add one.* The v prefix is added where appropriate by the script. +The Bash script in the root of the project, named `publish.sh` can be used to publish a new version of librespot and its corresponding crates. the command should be used as follows from the project root: `./publish 0.1.0` from the project root, substituting the new version number that you wish to publish. *Note the lack of a v prefix on the version number. This is important, do not add one.* The v prefix is added where appropriate by the script. Make sure that you are are starting from a clean working directory for both `dev` and `master`, completely up to date with remote and all local changes either committed and pushed or stashed. diff --git a/docs/connection.md b/docs/connection.md index e64fac7f..9f5fcc93 100644 --- a/docs/connection.md +++ b/docs/connection.md @@ -31,7 +31,7 @@ The client solves a challenge based on these two packets, and sends it back usin It also computes the shared keys used to encrypt the rest of the communication. ## Login challenge and cipher key computation. -The client starts by computing the DH shared secret using it's private key and the server's public key. +The client starts by computing the DH shared secret using its private key and the server's public key. HMAC-SHA1 is then used to compute the send and receive keys, as well as the login challenge. ``` diff --git a/metadata/src/artist.rs b/metadata/src/artist.rs index d3162fc6..b06b22bc 100644 --- a/metadata/src/artist.rs +++ b/metadata/src/artist.rs @@ -91,7 +91,7 @@ impl_deref_wrapped!(AlbumGroup, Albums); /// [Album1], [Album2-relelease, Album2-older-release], [Album3] /// ] /// ``` -/// In most cases only the current variant of each album is needed. A list of every album in it's +/// In most cases only the current variant of each album is needed. A list of every album in its /// current release variant can be obtained by using [`AlbumGroups::current_releases`] #[derive(Debug, Clone, Default)] pub struct AlbumGroups(pub Vec); diff --git a/playback/src/audio_backend/alsa.rs b/playback/src/audio_backend/alsa.rs index fada2580..dc0b87c0 100644 --- a/playback/src/audio_backend/alsa.rs +++ b/playback/src/audio_backend/alsa.rs @@ -262,7 +262,7 @@ fn open_device(dev_name: &str, format: AudioFormat) -> SinkResult<(PCM, usize)> } } } else { - trace!("The device's min reported Buffer size was greater than or equal to it's max reported Buffer size."); + trace!("The device's min reported Buffer size was greater than or equal to its max reported Buffer size."); ZERO_FRAMES }; @@ -328,7 +328,7 @@ fn open_device(dev_name: &str, format: AudioFormat) -> SinkResult<(PCM, usize)> } } } else { - trace!("The device's min reported Period size was greater than or equal to it's max reported Period size,"); + trace!("The device's min reported Period size was greater than or equal to its max reported Period size,"); trace!("or the desired min Period size was greater than or equal to the desired max Period size."); ZERO_FRAMES }; diff --git a/playback/src/player.rs b/playback/src/player.rs index b3541f23..457f1896 100644 --- a/playback/src/player.rs +++ b/playback/src/player.rs @@ -386,7 +386,7 @@ impl NormalisationData { let limiting_db = factor_db + config.normalisation_threshold_dbfs.abs(); warn!( - "This track may exceed dBFS by {:.2} dB and be subject to {:.2} dB of dynamic limiting at it's peak.", + "This track may exceed dBFS by {:.2} dB and be subject to {:.2} dB of dynamic limiting at its peak.", factor_db, limiting_db ); } else if factor > threshold_ratio { @@ -395,7 +395,7 @@ impl NormalisationData { + config.normalisation_threshold_dbfs.abs(); info!( - "This track may be subject to {:.2} dB of dynamic limiting at it's peak.", + "This track may be subject to {:.2} dB of dynamic limiting at its peak.", limiting_db ); }