bump MSRV to 1.83 (#16294)
According to our new MSRV policy (see https://github.com/astral-sh/ruff/issues/16370 ), bump our MSRV to 1.83 (N - 2), and autofix some new clippy lints.
This commit is contained in:
@@ -1256,7 +1256,7 @@ impl<'src> Lexer<'src> {
|
||||
// `IpyEscapeKind::Magic` and `IpyEscapeKind::Help` because of the initial `%` and `??`
|
||||
// tokens.
|
||||
if question_count > 2
|
||||
|| value.chars().last().map_or(true, is_python_whitespace)
|
||||
|| value.chars().last().is_none_or(is_python_whitespace)
|
||||
|| !matches!(self.cursor.first(), '\n' | '\r' | EOF_CHAR)
|
||||
{
|
||||
// Not a help end escape command, so continue with the lexing.
|
||||
|
||||
Reference in New Issue
Block a user