forth: Remove unneeded `as_ref`
Clippy suggested
warning: this call to `as_ref` does nothing
= help: for further information visit
(Caused by 0e50631fd7172eb2aceafd0e7792b22c295ab158)
@@ -93,7 +93,7 @@ impl Forth {
}
fn step_built_in(&mut self, word: &str) -> ForthResult {
- match word.as_ref() {
+ match word {
"+" => self.bin_op(|(a, b)| Ok(a + b)),
"-" => self.bin_op(|(a, b)| Ok(a - b)),
"*" => self.bin_op(|(a, b)| Ok(a * b)),
