Skip to content

Commit

Permalink
Fix clippy beta error
Browse files Browse the repository at this point in the history
  • Loading branch information
scottanderson committed Oct 21, 2024
1 parent af2e190 commit da322c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/properties/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ pub(crate) use impl_write_header_part;
///
/// This generates a `get_my_enum_variant` function that returns an `Option<&MyEnumVariant>`
/// if the enum instance is of the `MyEnumVariant` variant.
macro_rules! make_matcher {
($type:ident, $name:ident, $name_mut:ident) => {
#[doc = concat!("Retrieves the enum value as a `", stringify!($type), "`.")]
Expand Down Expand Up @@ -446,7 +445,7 @@ pub struct PropertyOptions<'a> {
pub large_world_coordinates: bool,
}

impl<'a> PropertyOptions<'a> {
impl PropertyOptions<'_> {
/// Get custom version
#[inline]
pub fn get_custom_version<T>(&self) -> FCustomVersion
Expand Down

0 comments on commit da322c2

Please sign in to comment.