mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 00:24:13 -05:00
[ty] Use "cannot" consistently over "can not" (#21255)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user