Fixed formatting with rust-analyzer
This commit is contained in:
parent
51c8da06b0
commit
0ee9c5b776
|
@ -20,7 +20,7 @@ struct State {
|
|||
color: (u8, u8, u8),
|
||||
position: Point,
|
||||
quit: bool,
|
||||
message: String
|
||||
message: String,
|
||||
}
|
||||
|
||||
impl State {
|
||||
|
@ -32,7 +32,9 @@ impl State {
|
|||
self.quit = true;
|
||||
}
|
||||
|
||||
fn echo(&mut self, s: String) { self.message = s }
|
||||
fn echo(&mut self, s: String) {
|
||||
self.message = s
|
||||
}
|
||||
|
||||
fn move_position(&mut self, p: Point) {
|
||||
self.position = p;
|
||||
|
|
Loading…
Reference in a new issue