Run cargo fmt
This commit is contained in:
parent
0722d5e3ec
commit
983aa1b366
10 changed files with 57 additions and 48 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue