Skip to content

Commit 9db8234

Browse files
committed
refactor(man): Avoid to_string
1 parent 475cac9 commit 9db8234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clap_mangen/src/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ fn format_possible_values(possibles: &Vec<&clap::builder::PossibleValue>) -> Vec
367367
let val_name = value.get_name();
368368
match value.get_help() {
369369
Some(help) => lines.push(format!("{val_name}: {help}")),
370-
None => lines.push(val_name.to_string()),
370+
None => lines.push(val_name.to_owned()),
371371
}
372372
}
373373
lines

0 commit comments

Comments
 (0)