From 84ac862778a7ea11a314e097c9f0173f79fbc949 Mon Sep 17 00:00:00 2001 From: weartist Date: Mon, 21 Apr 2025 23:01:32 +0800 Subject: [PATCH] adjust doc --- .../src/rules/flake8_errmsg/rules/string_in_exception.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 1e274f3e75..6c1190678e 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 @@ -49,7 +49,7 @@ use crate::Locator; /// ``` /// /// ## 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 @@ -174,7 +174,7 @@ impl Violation for FStringInException { /// ``` /// /// ## 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