diff options
author | Oskar Nehlin | 2021-10-18 15:02:03 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-10-28 01:22:52 +0000 |
commit | 6e455fd3fb7f0ce3715ca0af72197749a2f19f57 (patch) | |
tree | f76cab49ef68acc489a5057ddb3ae279e2980c28 | |
parent | da4d9340baca311580ee7a10eaaec1f63a77bb60 (diff) |
Apply suggestions from code review
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
-rw-r--r-- | helix-term/src/keymap.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index ed7f7edd..d51204e1 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -121,7 +121,7 @@ impl KeyTrieNode { self.set_order(); } - /// Sets the order of the mapping recursivly since the + /// Sets the order of the mapping recursively since the /// the trie can contain child nodes without order. /// The order is missing from child nodes since it's not /// parsed from the config.toml @@ -130,7 +130,7 @@ impl KeyTrieNode { if !self.order.contains(&key) { self.order.push(key); } - // Order must be recursivly set + // Order must be recursively set if let KeyTrie::Node(node) = trie { node.set_order(); } |