mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-22 11:24:35 +00:00
Make ImportFrom level just a u32 (#11170)
This commit is contained in:
parent
5994414739
commit
845ba7cf5f
34 changed files with 100 additions and 182 deletions
|
@ -471,7 +471,7 @@ pub struct StmtImportFrom {
|
|||
pub range: TextRange,
|
||||
pub module: Option<Identifier>,
|
||||
pub names: Vec<Alias>,
|
||||
pub level: Option<u32>,
|
||||
pub level: u32,
|
||||
}
|
||||
|
||||
impl From<StmtImportFrom> for Stmt {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue