Skip to content

Commit

Permalink
fix some nightly warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rj00a committed Sep 4, 2023
1 parent 8d9364d commit 27a37a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/valence_registry/src/biome.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub struct BiomeRegistry {
}

impl BiomeRegistry {
pub const KEY: Ident<&str> = ident!("worldgen/biome");
pub const KEY: Ident<&'static str> = ident!("worldgen/biome");
}

impl Deref for BiomeRegistry {
Expand Down
2 changes: 1 addition & 1 deletion crates/valence_registry/src/dimension_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub struct DimensionTypeRegistry {
}

impl DimensionTypeRegistry {
pub const KEY: Ident<&str> = ident!("dimension_type");
pub const KEY: Ident<&'static str> = ident!("dimension_type");
}

#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Default, Debug)]
Expand Down

0 comments on commit 27a37a1

Please sign in to comment.