Browse Source

refactoring: sort builtins

main
fdai7451 2 years ago
parent
commit
0f624a8e4b
  1. 4
      src/builtins/mod.rs

4
src/builtins/mod.rs

@ -32,10 +32,10 @@ const BUILTINS: Lazy<Vec<(&str, Box<dyn Builtin>)>> = Lazy::new(|| {
("cd", Box::new(cd::Cd)), ("cd", Box::new(cd::Cd)),
("change-prompt", Box::new(change_prompt::ChangePrompt)), ("change-prompt", Box::new(change_prompt::ChangePrompt)),
("exit", Box::new(exit::Exit)), ("exit", Box::new(exit::Exit)),
("pwd", Box::new(pwd::Pwd)),
("open", Box::new(open::Open)),
("fetch", Box::new(fetch::Fetch)), ("fetch", Box::new(fetch::Fetch)),
("ls", Box::new(ls::Ls)), ("ls", Box::new(ls::Ls)),
("open", Box::new(open::Open)),
("pwd", Box::new(pwd::Pwd)),
("segfault", Box::new(segfault::Segfault)), ("segfault", Box::new(segfault::Segfault)),
] ]
}); });

Loading…
Cancel
Save