mirror of
https://github.com/sajenim/rush.git
synced 2025-06-28 01:44:21 +08:00
we don't need tobe explicit here
This commit is contained in:
parent
8decbfb657
commit
998fc9cdca
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ fn resolve_alias(config: &mlua::Table, cmd: &str) -> Option<String> {
|
|||
config
|
||||
.get::<mlua::Table>("shellAliases")
|
||||
.ok()
|
||||
.and_then(|aliases| aliases.get::<String>(cmd).ok())
|
||||
.and_then(|aliases| aliases.get(cmd).ok())
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue