Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
sonro committed Jul 12, 2024
1 parent 1c84e80 commit c8651af
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dotenv/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ struct LineParser<'a> {
}

impl<'a> LineParser<'a> {
fn new(
line: &'a str,
substitution_data: &'a mut HashMap<String, Option<String>>,
) -> LineParser<'a> {
fn new(line: &'a str, substitution_data: &'a mut HashMap<String, Option<String>>) -> Self {
LineParser {
original_line: line,
substitution_data,
Expand Down

0 comments on commit c8651af

Please sign in to comment.