Skip to content

Commit 7a95ea5

Browse files
committed
clippy
1 parent 37a991a commit 7a95ea5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/mdbook-forc-documenter/src/commands.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ pub fn possible_forc_commands() -> Vec<String> {
2626
// End of commands section
2727
break;
2828
}
29-
3029
// Extract command name (first word of the line)
31-
if let Some(command) = line.trim().split_whitespace().next() {
30+
if let Some(command) = line.split_whitespace().next() {
3231
possible_commands.push(command.to_string());
3332
}
3433
}

0 commit comments

Comments
 (0)