Fix slice syntax

This commit is contained in:
greg 2016-12-18 22:04:36 -08:00
parent 6a0b50f278
commit ee12e10ac6

View File

@ -76,7 +76,7 @@ struct InterpreterState {
impl ReplState for InterpreterState {
fn update_state(&mut self, input: &Vec<&str>) {
match &input[..] {
match input[..] {
["set", "show", "tokens", "true"] => {
self.show_tokens = true;
},