mirror of https://github.com/astral-sh/ruff
adjust doc
This commit is contained in:
parent
fb40d0ca28
commit
84ac862778
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue