Skip to main content

remove_model_role

Function remove_model_role 

Source
pub fn remove_model_role(s: &mut Settings, role: &str) -> bool
Expand description

Remove one model_roles entry. Returns whether the role existed. Unlike keybindings there is no last-entry guard — an empty model_roles is a perfectly valid state.