Skip to content

Commit

Permalink
remove unnecessary map from parse_sans
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Nov 1, 2023
1 parent 7012959 commit 20dc70e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rustls-cert-gen/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ pub struct Options {
fn parse_sans(hosts: Vec<String>) -> Vec<SanType> {
hosts
.into_iter()
.map(|s| s.to_string())
.map(parse_san)
.collect()
}

Check warning on line 65 in rustls-cert-gen/src/args.rs

View check run for this annotation

Codecov / codecov/patch

rustls-cert-gen/src/args.rs#L60-L65

Added lines #L60 - L65 were not covered by tests
Expand Down

0 comments on commit 20dc70e

Please sign in to comment.