mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
Sort match statement
This commit is contained in:
@@ -227,7 +227,6 @@ impl ParseKeyword {
|
||||
/// Return the keyword as a string.
|
||||
pub fn to_wstr(self) -> &'static wstr {
|
||||
match self {
|
||||
ParseKeyword::kw_exclam => L!("!"),
|
||||
ParseKeyword::kw_and => L!("and"),
|
||||
ParseKeyword::kw_begin => L!("begin"),
|
||||
ParseKeyword::kw_builtin => L!("builtin"),
|
||||
@@ -235,6 +234,7 @@ pub fn to_wstr(self) -> &'static wstr {
|
||||
ParseKeyword::kw_command => L!("command"),
|
||||
ParseKeyword::kw_else => L!("else"),
|
||||
ParseKeyword::kw_end => L!("end"),
|
||||
ParseKeyword::kw_exclam => L!("!"),
|
||||
ParseKeyword::kw_exec => L!("exec"),
|
||||
ParseKeyword::kw_for => L!("for"),
|
||||
ParseKeyword::kw_function => L!("function"),
|
||||
|
||||
Reference in New Issue
Block a user