Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comments #2486

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading