Fix typos across the codebase (thanks codespell!)

This commit is contained in:
Emmanuel Gil Peyrot 2024-05-13 22:54:26 +02:00 committed by Jonas Schäfer
commit 002c2803d4
9 changed files with 9 additions and 9 deletions

View file

@ -23,7 +23,7 @@ pub enum Error {
Auth(AuthError),
/// Connection closed
Disconnected,
/// Shoud never happen
/// Should never happen
InvalidState,
/// Fmt error
Fmt(fmt::Error),

View file

@ -357,7 +357,7 @@ mod tests {
});
}
/// By default, encode() only get's a BytesMut that has 8kb space reserved.
/// By default, encode() only gets a BytesMut that has 8 KiB space reserved.
#[test]
fn test_large_stanza() {
use futures::{executor::block_on, sink::SinkExt};