Fix: remove .expect() from register_fn call in add_switcher_keyword
This commit is contained in:
parent
21bcde15a6
commit
c34b719515
1 changed files with 1 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue