Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
brxken128 committed Oct 20, 2023
1 parent 6ced4c1 commit b01469b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,7 @@ impl ValueState {

// TODO(brxken128): clean this up 💀
#[allow(clippy::too_many_lines)]
fn parse_value(
input: &str,
substitution_data: &mut HashMap<String, Option<String>>,
) -> Result<String> {
fn parse_value(input: &str, substitution_data: &HashMap<String, Option<String>>) -> Result<String> {
let mut state = ValueState::default();

for (index, c) in input.chars().enumerate() {
Expand Down

0 comments on commit b01469b

Please sign in to comment.