Skip to content

Commit 407546f

Browse files
SynapLinkytmimi
authored andcommitted
Fix typos in check_diff comments
1 parent b47f06f commit 407546f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

check_diff/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl FromStr for Edition {
5050

5151
#[derive(Debug, Clone, Copy)]
5252
pub enum StyleEdition {
53-
// rustfmt style_edition 2021. Also equivaluent to 2015 and 2018.
53+
// rustfmt style_edition 2021. Also equivalent to 2015 and 2018.
5454
Edition2021,
5555
// rustfmt style_edition 2024
5656
Edition2024,
@@ -82,7 +82,7 @@ impl FromStr for StyleEdition {
8282
pub enum FormatCodeError {
8383
// IO Error when running code formatter
8484
Io(std::io::Error),
85-
/// An error occured that prevents code formatting. For example, a parse error.
85+
/// An error occurred that prevents code formatting. For example, a parse error.
8686
CodeNotFormatted(Vec<u8>),
8787
}
8888

0 commit comments

Comments
 (0)