Misc code cleanups accumulated while working on other changes (#34787)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-07-20 17:22:13 -06:00 committed by Orual
parent b2a115f62e
commit fb800ccd51
No known key found for this signature in database
7 changed files with 9 additions and 21 deletions

View file

@ -242,7 +242,7 @@ impl CommandPaletteDelegate {
self.selected_ix = cmp::min(self.selected_ix, self.matches.len() - 1);
}
}
///
/// Hit count for each command in the palette.
/// We only account for commands triggered directly via command palette and not by e.g. keystrokes because
/// if a user already knows a keystroke for a command, they are unlikely to use a command palette to look for it.