Skip to content

Commit

Permalink
chore: fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: hanghuge <cmoman@outlook.com>
  • Loading branch information
hanghuge authored and calebcartwright committed Apr 7, 2024
1 parent a848e28 commit 7289391
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/check_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function check_diff() {
)

if [ -z "$diff" ]; then
echo "no diff detected between rustfmt and the feture branch"
echo "no diff detected between rustfmt and the feature branch"
return 0
else
echo "$diff"
Expand Down
2 changes: 1 addition & 1 deletion tests/mod-resolver/skip-files-issue-5065/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ mod one;
fn main() {println!("Hello, world!");
}

// trailing commet
// trailing comment
2 changes: 1 addition & 1 deletion tests/source/no_arg_with_commnet.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fn foo( /* cooment */
fn foo( /* comment */
) {}
2 changes: 1 addition & 1 deletion tests/target/no_arg_with_commnet.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fn foo(/* cooment */) {}
fn foo(/* comment */) {}

0 comments on commit 7289391

Please sign in to comment.