We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b47f06f commit 407546fCopy full SHA for 407546f
1 file changed
check_diff/src/lib.rs
@@ -50,7 +50,7 @@ impl FromStr for Edition {
50
51
#[derive(Debug, Clone, Copy)]
52
pub enum StyleEdition {
53
- // rustfmt style_edition 2021. Also equivaluent to 2015 and 2018.
+ // rustfmt style_edition 2021. Also equivalent to 2015 and 2018.
54
Edition2021,
55
// rustfmt style_edition 2024
56
Edition2024,
@@ -82,7 +82,7 @@ impl FromStr for StyleEdition {
82
pub enum FormatCodeError {
83
// IO Error when running code formatter
84
Io(std::io::Error),
85
- /// An error occured that prevents code formatting. For example, a parse error.
+ /// An error occurred that prevents code formatting. For example, a parse error.
86
CodeNotFormatted(Vec<u8>),
87
}
88
0 commit comments