Skip to content

Commit

Permalink
forgot to run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
etosch committed Mar 16, 2019
1 parent ab32691 commit 95c8186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctoybox/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 95c8186

Please sign in to comment.