Skip to content

Commit f1b5ff6

Browse files
ita93roypat
authored andcommitted
Remove unnecessary return statement
Signed-off-by: Nguyen Dinh Phi <[email protected]>
1 parent 6065405 commit f1b5ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmdline/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ fn contains_double_quotes(s: &str) -> bool {
104104
if s.len() < 3 {
105105
return false;
106106
}
107-
return s.chars().skip(1).take(s.len() - 2).any(|c| c == '"');
107+
s.chars().skip(1).take(s.len() - 2).any(|c| c == '"')
108108
}
109109

110110
fn valid_key(s: &str) -> Result<()> {

0 commit comments

Comments
 (0)