@@ -2426,11 +2426,11 @@ impl ui::menu::Item for MappableCommand {
2426 match self {
2426 match self {
2427 MappableCommand::Typable { doc, name, .. } => match keymap.get(name as &String) {
2427 MappableCommand::Typable { doc, name, .. } => match keymap.get(name as &String) {
2428 Some(bindings) => format!("{} ({}) [{}]", doc, fmt_binding(bindings), name).into(),
2428 Some(bindings) => format!("{} ({}) [{}]", doc, fmt_binding(bindings), name).into(),
2429− None => doc.as_str().into(),
2429+ None => format!("{} [{}]", doc, name).into(),
2431 MappableCommand::Static { doc, name, .. } => match keymap.get(*name) {
2431 MappableCommand::Static { doc, name, .. } => match keymap.get(*name) {
2432 Some(bindings) => format!("{} ({}) [{}]", doc, fmt_binding(bindings), name).into(),
2432 Some(bindings) => format!("{} ({}) [{}]", doc, fmt_binding(bindings), name).into(),
2433− None => (*doc).into(),
2433+ None => format!("{} [{}]", doc, name).into(),