mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 08:43:09 -03:00
fish.rs: use some bare returns
This commit is contained in:
committed by
Johannes Altmanninger
parent
1683e720a8
commit
d6cb049aff
@@ -798,7 +798,7 @@ fn escape_single_quoted_hack_hack_hack_hack(s: &wstr) -> OsString {
|
||||
result.push(c.to_string())
|
||||
}
|
||||
result.push("\'");
|
||||
return result;
|
||||
result
|
||||
}
|
||||
|
||||
fn fish_xdm_login_hack_hack_hack_hack(cmds: &mut Vec<OsString>, args: &[WString]) -> bool {
|
||||
@@ -820,5 +820,5 @@ fn fish_xdm_login_hack_hack_hack_hack(cmds: &mut Vec<OsString>, args: &[WString]
|
||||
cmds[0] = new_cmd;
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user