mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
Switch to Rust 2024 edition (#18129)
This commit is contained in:
parent
e67b35743a
commit
9ae698fe30
1082 changed files with 4211 additions and 3300 deletions
|
@ -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`.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue