Move StarImport to its own module (#5186)

This commit is contained in:
Charlie Marsh 2023-06-20 13:12:46 -04:00 committed by GitHub
parent b369288833
commit 310abc769d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 9 deletions

View file

@ -0,0 +1,7 @@
#[derive(Debug, Clone)]
pub struct StarImport<'a> {
/// The level of the import. `None` or `Some(0)` indicate an absolute import.
pub level: Option<u32>,
/// The module being imported. `None` indicates a wildcard import.
pub module: Option<&'a str>,
}