adjust doc

This commit is contained in:
weartist 2025-04-21 23:01:32 +08:00
parent fb40d0ca28
commit 84ac862778
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ use crate::Locator;
/// ``` /// ```
/// ///
/// ## Fix safety /// ## 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 /// - Comments associated with the exception argument may not be reliably matched
/// to their original code positions after the fix is applied. /// to their original code positions after the fix is applied.
/// - The introduced `msg` variable may shadow an existing variable in the same /// - The introduced `msg` variable may shadow an existing variable in the same
@ -174,7 +174,7 @@ impl Violation for FStringInException {
/// ``` /// ```
/// ///
/// ## Fix safety /// ## 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 /// - Comments associated with the exception argument may not be reliably matched
/// to their original code positions after the fix is applied. /// to their original code positions after the fix is applied.
/// - The introduced `msg` variable may shadow an existing variable in the same /// - The introduced `msg` variable may shadow an existing variable in the same