mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 22:44:01 +00:00
fish.rs: use some bare returns
This commit is contained in:
parent
1683e720a8
commit
d6cb049aff
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue