Skip to content

Commit

Permalink
fix: Clippy - Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaigalos committed Aug 4, 2024
1 parent fd45292 commit 08eb188
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ impl Utils {
};

let substring_after_port = input.get(pos_port + len_port_string..);
return match substring_after_port {
Some(v) => v,
None => "",
};
return substring_after_port.unwrap_or_default();
}
input
}
Expand Down

0 comments on commit 08eb188

Please sign in to comment.