mirror of
https://github.com/sajenim/rush.git
synced 2025-06-29 10:24: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
|
config
|
||||||
.get::<mlua::Table>("shellAliases")
|
.get::<mlua::Table>("shellAliases")
|
||||||
.ok()
|
.ok()
|
||||||
.and_then(|aliases| aliases.get::<String>(cmd).ok())
|
.and_then(|aliases| aliases.get(cmd).ok())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue