Code review changes
This commit is contained in:
parent
4bf4c780be
commit
32f8733313
11 changed files with 127 additions and 187 deletions
|
@ -297,7 +297,7 @@ impl PickerDelegate for CommandPaletteDelegate {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn humanize_action_name(name: &str) -> String {
|
||||
fn humanize_action_name(name: &str) -> String {
|
||||
let capacity = name.len() + name.chars().filter(|c| c.is_uppercase()).count();
|
||||
let mut result = String::with_capacity(capacity);
|
||||
for char in name.chars() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue