Use consistent re-export from ruff_source_file (#9320)

Right now, we both re-export (via `pub use`) and mark the modules
themselves a `pub`, so they can be imported through two different paths.
This commit is contained in:
Charlie Marsh
2023-12-30 15:48:45 -04:00
committed by GitHub
parent c01bb0d485
commit eb9a1bc5f1
4 changed files with 12 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
use ruff_python_trivia::{indentation_at_offset, is_python_whitespace, PythonWhitespace};
use ruff_source_file::{newlines::UniversalNewlineIterator, Locator};
use ruff_source_file::{Locator, UniversalNewlineIterator};
use ruff_text_size::{Ranged, TextRange, TextSize};
use crate::Stmt;