From fb40d0ca285fe1e4664a7a64ac1021d2254e74bf Mon Sep 17 00:00:00 2001 From: weartist Date: Mon, 21 Apr 2025 23:00:59 +0800 Subject: [PATCH] adjust doc --- .../src/rules/flake8_errmsg/rules/string_in_exception.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/flake8_errmsg/rules/string_in_exception.rs b/crates/ruff_linter/src/rules/flake8_errmsg/rules/string_in_exception.rs index 0efb2603a1..1e274f3e75 100644 --- a/crates/ruff_linter/src/rules/flake8_errmsg/rules/string_in_exception.rs +++ b/crates/ruff_linter/src/rules/flake8_errmsg/rules/string_in_exception.rs @@ -111,7 +111,7 @@ impl Violation for RawStringInException { /// ``` /// /// ## Fix safety -/// This rule's fix is marked as unsafe because: +/// This fix is marked as unsafe because: /// - Comments associated with the exception argument may not be reliably matched /// to their original code positions after the fix is applied. /// - The introduced `msg` variable may shadow an existing variable in the same