Switch to Rust 2024 edition (#18129)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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`.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user