diff --git a/ctoybox/src/core.rs b/ctoybox/src/core.rs index ddafbcc4..1f3e41d4 100644 --- a/ctoybox/src/core.rs +++ b/ctoybox/src/core.rs @@ -225,8 +225,8 @@ pub extern "C" fn state_apply_action(state_ptr: *mut WrapState, input_ptr: *cons CStr::from_ptr(input_ptr) }; let input_str = input_ptr - .to_str() - .expect("Could not create input string from pointer"); + .to_str() + .expect("Could not create input string from pointer"); let input: Input = serde_json::from_str(input_str).expect("Could not input string to Input"); state.update_mut(input); }