mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-16 16:40:19 +00:00
Fix typos found by codespell (#9346)
## Summary Fix typos found by [codespell](https://github.com/codespell-project/codespell). ## Test Plan CI tests.
This commit is contained in:
parent
cd0493db2a
commit
d04d49cc0e
15 changed files with 46 additions and 46 deletions
|
@ -657,7 +657,7 @@ impl<'a> FlatBinaryExpressionSlice<'a> {
|
|||
/// The formatting is recursive (with a depth of `O(operators)` where `operators` are operators with different precedences).
|
||||
///
|
||||
/// Comments before or after the first operand must be formatted by the caller because they shouldn't be part of the group
|
||||
/// wrapping the whole binary chain. This is to avoid that `b * c` expands in the following example because of its trailing comemnt:
|
||||
/// wrapping the whole binary chain. This is to avoid that `b * c` expands in the following example because of its trailing comment:
|
||||
///
|
||||
/// ```python
|
||||
///
|
||||
|
|
|
@ -941,7 +941,7 @@ impl UnicodeEscape {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
// Unterminated escape sequence, dont' normalise it.
|
||||
// Unterminated escape sequence, don't normalise it.
|
||||
return None;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue