Run cargo fmt

This commit is contained in:
Dispersia 2021-04-12 23:23:47 -07:00
parent 0722d5e3ec
commit 983aa1b366
10 changed files with 57 additions and 48 deletions

View file

@ -20,7 +20,7 @@ impl<'a> Editor<'a> {
self.cursor.move_left(self.value);
self.value.remove_many(left, right);
}
_ => (),
_ => {}
}
self.value.insert(self.cursor.end(self.value), character);
@ -35,7 +35,7 @@ impl<'a> Editor<'a> {
self.cursor.move_left(self.value);
self.value.remove_many(left, right);
}
_ => (),
_ => {}
}
self.value.insert_many(self.cursor.end(self.value), content);