Switch to Rust 2024 edition (#18129)

This commit is contained in:
Micha Reiser
2025-05-16 13:25:28 +02:00
committed by GitHub
parent e67b35743a
commit 9ae698fe30
1082 changed files with 4211 additions and 3300 deletions

View File

@@ -1,6 +1,6 @@
use ruff_text_size::TextRange;
use crate::{is_python_whitespace, PythonWhitespace};
use crate::{PythonWhitespace, is_python_whitespace};
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub enum SuppressionKind {

View File

@@ -2,7 +2,7 @@ use unicode_ident::{is_xid_continue, is_xid_start};
use ruff_text_size::{Ranged, TextLen, TextRange, TextSize};
use crate::{is_python_whitespace, Cursor};
use crate::{Cursor, is_python_whitespace};
/// Searches for the first non-trivia character after `offset`.
///