Skip to content

Commit

Permalink
minor: satisfy Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpombrio committed Apr 13, 2024
1 parent 235f6e7 commit 9cb7f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/editor/keymap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ impl Keymap {
pub fn make_keyhint_doc(&self, s: &mut Storage, candidate: Option<&Candidate>) -> Node {
// Lookup SelectionMenu language and constructs
let lang = s
.language(&KEYHINTS_LANGUAGE_NAME)
.language(KEYHINTS_LANGUAGE_NAME)
.bug_msg("Missing Keyhints lang");
let c_root = lang.root_construct(s);
let c_entry = lang.construct(s, "Entry").bug();
Expand Down
2 changes: 1 addition & 1 deletion src/editor/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl MenuSelection {

// Lookup SelectionMenu language and constructs
let lang = s
.language(&SELECTION_LANGUAGE_NAME)
.language(SELECTION_LANGUAGE_NAME)
.bug_msg("Missing SelectionMenu lang");
let c_root = lang.root_construct(s);
let c_input = lang.construct(s, "Input").bug();
Expand Down

0 comments on commit 9cb7f00

Please sign in to comment.