mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +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
|
@ -1306,7 +1306,7 @@ pub struct StmtImport<'a> {
|
|||
pub struct StmtImportFrom<'a> {
|
||||
module: Option<&'a str>,
|
||||
names: Vec<ComparableAlias<'a>>,
|
||||
level: Option<u32>,
|
||||
level: u32,
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue