From db0cb6b64789c78cffbf29399ab1ad80df7280fe Mon Sep 17 00:00:00 2001 From: SynapLink Date: Sat, 25 Apr 2026 22:13:18 +0200 Subject: [PATCH] Fix typos in check_diff comments --- check_diff/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_diff/src/lib.rs b/check_diff/src/lib.rs index 7c047bb0850..d6bb7678ea0 100644 --- a/check_diff/src/lib.rs +++ b/check_diff/src/lib.rs @@ -50,7 +50,7 @@ impl FromStr for Edition { #[derive(Debug, Clone, Copy)] pub enum StyleEdition { - // rustfmt style_edition 2021. Also equivaluent to 2015 and 2018. + // rustfmt style_edition 2021. Also equivalent to 2015 and 2018. Edition2021, // rustfmt style_edition 2024 Edition2024, @@ -82,7 +82,7 @@ impl FromStr for StyleEdition { pub enum FormatCodeError { // IO Error when running code formatter Io(std::io::Error), - /// An error occured that prevents code formatting. For example, a parse error. + /// An error occurred that prevents code formatting. For example, a parse error. CodeNotFormatted(Vec), }