Skip to content

Commit

Permalink
Remove deprecated anonymous parameter
Browse files Browse the repository at this point in the history
For more info, see: rust-lang/rust#41686
  • Loading branch information
jemma-nelson committed Aug 9, 2021
1 parent 19782aa commit b0f6915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib_oxide.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub enum StateTypeEnum {
/// Trait used for states that can be carried by BoxedState.
pub trait StateType {
const STATE_TYPE: StateTypeEnum;
fn from_enum(&mut InternalState) -> Option<&mut Self>;
fn from_enum(_: &mut InternalState) -> Option<&mut Self>;
}

impl StateType for InflateState {
Expand Down

0 comments on commit b0f6915

Please sign in to comment.