Fix: remove .expect() from register_fn call in add_switcher_keyword
All checks were successful
Botlib CI / build (push) Successful in 2s
BotServer CI / build (push) Successful in 5m56s
Bottest CI / build (push) Successful in 29s
BotUI CI / build (push) Successful in 13s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-24 16:48:35 -03:00
parent 21bcde15a6
commit c34b719515

View file

@ -100,8 +100,7 @@ pub fn add_switcher_keyword(
button_text,
);
result.map_err(|e| e.to_string())
})
.expect("valid function registration");
});
}
fn add_switcher(