Skip to content

Commit

Permalink
chore: fix some typos in comments (#2486)
Browse files Browse the repository at this point in the history
Signed-off-by: TechVest <[email protected]>
  • Loading branch information
TechVest authored Apr 17, 2024
1 parent 895e4a9 commit 838ccb4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/biome_cli/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type JsonRpcResult = Result<Box<RawValue>, 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
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_console/src/write/termcolor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down
2 changes: 1 addition & 1 deletion xtask/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions xtask/codegen/src/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 838ccb4

Please sign in to comment.