Skip to content

Commit

Permalink
Remove optional
Browse files Browse the repository at this point in the history
  • Loading branch information
neunenak committed Jun 20, 2023
1 parent 6f77cc1 commit d3e6180
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const VALID_ALIAS_ATTRIBUTES: [Attribute; 1] = [Attribute::Private];
#[derive(Debug)]
pub(crate) struct Import {
path: PathBuf,
optional: bool,
line: usize,
}

Expand All @@ -32,7 +31,6 @@ impl<'src> Analyzer<'src> {
if let Item::Include { name, path } = item {
Some(Import {
path: Path::new(path).to_owned(),
optional: false,
line: name.line,
})
} else {
Expand Down

0 comments on commit d3e6180

Please sign in to comment.