From 998fc9cdcaf2368e74977874b39c0a1950f7654c Mon Sep 17 00:00:00 2001 From: jasmine Date: Mon, 9 Jun 2025 20:11:41 +0800 Subject: [PATCH] we don't need tobe explicit here --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 934a613..6b139e0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ fn resolve_alias(config: &mlua::Table, cmd: &str) -> Option { config .get::("shellAliases") .ok() - .and_then(|aliases| aliases.get::(cmd).ok()) + .and_then(|aliases| aliases.get(cmd).ok()) } fn main() {