Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Mar 13, 2024
1 parent 3d29dc1 commit 93ae0e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/diff/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ fn allocate_if_new<'s, 'b>(

/// Does this node look like punctuation?
///
/// This check is deliberately conservative, becuase it's hard to
/// This check is deliberately conservative, because it's hard to
/// accurately recognise punctuation in a language-agnostic way.
fn looks_like_punctuation(node: &Syntax) -> bool {
match node {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn reset_sigpipe() {
/// The entrypoint.
fn main() {
pretty_env_logger::try_init_timed_custom_env("DFT_LOG")
.expect("The logger has not been previously initalized");
.expect("The logger has not been previously initialized");
reset_sigpipe();

match options::parse_args() {
Expand Down

0 comments on commit 93ae0e9

Please sign in to comment.