File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ impl LuaSim {
58
58
key_table. set ( "modifiers" , format ! ( "{:?}" , key_event. modifiers) ) ?;
59
59
key_table. set ( "kind" , format ! ( "{:?}" , key_event. kind) ) ?;
60
60
61
- self . simulation_instance
61
+ let _: ( ) = self
62
+ . simulation_instance
62
63
. as_ref ( )
63
64
. unwrap ( )
64
65
. call_method ( "handle_key_events" , key_table) ?;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ fn check_size(
119
119
let height = terminal_size. height as usize ;
120
120
if width != current_width || height != current_height {
121
121
app. change_dimensions ( width as usize , height as usize ) ;
122
- simulation. call_method ( "set_particles" , app. particles . clone ( ) ) ?;
122
+ let _ : ( ) = simulation. call_method ( "set_particles" , app. particles . clone ( ) ) ?;
123
123
}
124
124
125
125
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments