mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
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:
parent
c01bb0d485
commit
eb9a1bc5f1
4 changed files with 12 additions and 10 deletions
|
@ -4,8 +4,9 @@
|
|||
use std::borrow::Cow;
|
||||
use std::cmp;
|
||||
|
||||
use ruff_source_file::UniversalNewlines;
|
||||
|
||||
use crate::PythonWhitespace;
|
||||
use ruff_source_file::newlines::UniversalNewlines;
|
||||
|
||||
/// Indent each line by the given prefix.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue