Skip to content

Commit 68ea4c0

Browse files
committed
Auto merge of #10244 - joshtriplett:tyop, r=ehuss
Fix typo: substract -> subtract
2 parents 5b3a8c5 + 64439ce commit 68ea4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/cargo/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub fn main(config: &mut Config) -> CliResult {
6565
.iter()
6666
.map(|(option_name, option_help_message)| {
6767
let option_name_kebab_case = option_name.replace("_", "-");
68-
let padding = " ".repeat(longest_option - option_name.len()); // safe to substract
68+
let padding = " ".repeat(longest_option - option_name.len()); // safe to subtract
6969
format!(
7070
" -Z {}{} -- {}",
7171
option_name_kebab_case, padding, option_help_message

0 commit comments

Comments
 (0)