Skip to content

Commit

Permalink
Fixing clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
notdanilo committed Oct 23, 2023
1 parent f1801d1 commit b509e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecosystem/python/parser/src/module/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl Parser<File<'_>> for PythonParser {
type Output = Module;
fn parse(&self, File(input): File<'_>) -> Result<Self::Output> {
let content = std::fs::read_to_string(input)?;
let module = ModuleParser::default().parse(content.as_str())?;
let module = ModuleParser.parse(content.as_str())?;
let mut module = self.parse(module)?;
module.identifier = self.identifier_parser.parse(input)?;
Ok(module)
Expand Down

0 comments on commit b509e50

Please sign in to comment.