diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-21 16:11:21 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-21 16:11:21 +0100 |
commit | 56e61bdfea5454dec4408a4947e037bcd042c886 (patch) | |
tree | 0bc42cbfcf5b6b502ad9fc3079cb4bdc5e8f110f /crates/mbe/src/subtree_source.rs | |
parent | 25bf451c8426a68ecfdc3a1d1be1db9702dd41d8 (diff) | |
parent | 47747cd4120e260a144242aadd7732e11d133fe4 (diff) |
Merge #9165
9165: Apply some clippy suggestions r=matklad a=clemenswasser
Co-authored-by: Clemens Wasser <[email protected]>
Diffstat (limited to 'crates/mbe/src/subtree_source.rs')
-rw-r--r-- | crates/mbe/src/subtree_source.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mbe/src/subtree_source.rs b/crates/mbe/src/subtree_source.rs index ee80807ad..ffc2a6017 100644 --- a/crates/mbe/src/subtree_source.rs +++ b/crates/mbe/src/subtree_source.rs | |||
@@ -115,7 +115,7 @@ impl<'a> TokenSource for SubtreeTokenSource { | |||
115 | fn is_keyword(&self, kw: &str) -> bool { | 115 | fn is_keyword(&self, kw: &str) -> bool { |
116 | match self.cached.get(self.curr.1) { | 116 | match self.cached.get(self.curr.1) { |
117 | Some(t) => t.text == *kw, | 117 | Some(t) => t.text == *kw, |
118 | _ => false, | 118 | None => false, |
119 | } | 119 | } |
120 | } | 120 | } |
121 | } | 121 | } |