Skip to content

Commit

Permalink
Fix future elided_lifetimes_in_associated_constant warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Sep 12, 2023
1 parent 4f66c5d commit 022b26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all-is-cubes/src/block/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl BlockAttributes {
tick_action: None,
animation_hint: AnimationHint::UNCHANGING,
};
const DEFAULT_REF: &Self = &Self::DEFAULT;
const DEFAULT_REF: &'static Self = &Self::DEFAULT;

/// Block attributes suitable as default values for in-game use.
///
Expand Down

0 comments on commit 022b26e

Please sign in to comment.