diff --git a/crates/biome_cli/src/service/mod.rs b/crates/biome_cli/src/service/mod.rs index dd87d4245f71..5f24b192fd00 100644 --- a/crates/biome_cli/src/service/mod.rs +++ b/crates/biome_cli/src/service/mod.rs @@ -76,7 +76,7 @@ type JsonRpcResult = Result, TransportError>; /// the requests are pushed to the channel as serialized byte buffers) /// - `pending_requests` is handle to a shared hashmap where the keys are `u64` /// corresponding to request IDs, and the values are sender handles to oneshot -/// channel instances that can be consumed to fullfill the associated request +/// channel instances that can be consumed to fulfill the associated request /// /// Creating a new `SocketTransport` instance requires providing a `tokio` /// runtime instance as well as the "read half" and "write half" of the socket diff --git a/crates/biome_console/src/write/termcolor.rs b/crates/biome_console/src/write/termcolor.rs index c305c552d342..500074311574 100644 --- a/crates/biome_console/src/write/termcolor.rs +++ b/crates/biome_console/src/write/termcolor.rs @@ -196,7 +196,7 @@ where } /// Determines if a unicode grapheme consists only of code points -/// which are considered whitepsace characters in ASCII +/// which are considered whitespace characters in ASCII fn grapheme_is_whitespace(grapheme: &str) -> bool { grapheme.chars().all(|c| c.is_whitespace()) } diff --git a/xtask/README.md b/xtask/README.md index 161a2c67ccaf..1ed197668113 100644 --- a/xtask/README.md +++ b/xtask/README.md @@ -5,4 +5,4 @@ This directory contains Rust scripts for code generation, running coverage tests Please checkout their respective READMEs for usage instructions. This `xtask` crate contains common utilities for working with these scripts. -For example, running `rustfmt` and gettting the project root. +For example, running `rustfmt` and getting the project root. diff --git a/xtask/codegen/src/formatter.rs b/xtask/codegen/src/formatter.rs index 3448c22483f9..f2d10578d892 100644 --- a/xtask/codegen/src/formatter.rs +++ b/xtask/codegen/src/formatter.rs @@ -84,10 +84,10 @@ impl GitRepo { fn check_path(&self, path: &Path) { if self.dirty.contains(path) { - panic!("Codegen would overwrite '{}' but it has uncommited changes. Commit the file to git, or pass --allow-dirty to the command to proceed anyway", path.display()); + panic!("Codegen would overwrite '{}' but it has uncommitted changes. Commit the file to git, or pass --allow-dirty to the command to proceed anyway", path.display()); } if self.staged.contains(path) { - panic!("Codegen would overwrite '{}' but it has uncommited changes. Commit the file to git, or pass --allow-staged to the command to proceed anyway", path.display()); + panic!("Codegen would overwrite '{}' but it has uncommitted changes. Commit the file to git, or pass --allow-staged to the command to proceed anyway", path.display()); } }