mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-19 03:48:29 +00:00
[ty] Use "cannot" consistently over "can not" (#21255)
This commit is contained in:
parent
e8c35b9704
commit
39f105bc4a
24 changed files with 39 additions and 39 deletions
|
|
@ -299,7 +299,7 @@ impl<'a> CanOmitOptionalParenthesesVisitor<'a> {
|
|||
}
|
||||
|
||||
// `case 4+3j:` or `case 4-3j:
|
||||
// Can not contain arbitrary expressions. Limited to complex numbers.
|
||||
// Cannot contain arbitrary expressions. Limited to complex numbers.
|
||||
Expr::BinOp(_) => {
|
||||
self.update_max_precedence(OperatorPrecedence::Additive, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue