Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
style(solidity/linter-lib): lint linter.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Nov 3, 2023
1 parent 8f1163f commit d4daad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchains/solidity/core/crates/linter-lib/src/linter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl SolidLinter {
}

pub fn parse_file(&mut self, filepath: &str) -> LintResult {
let content = fs::read_to_string(&filepath)?;
let content = fs::read_to_string(filepath)?;
self.parse_content(filepath, content.as_str())
}

Expand Down

0 comments on commit d4daad0

Please sign in to comment.