world/section: temporarily rename PaletteSectionBiomes fields

These fields are unused for now. Add an underscore to supress linter
warnings.
This commit is contained in:
Matthias Schiffer 2023-02-12 20:20:36 +01:00
parent 65c39ea153
commit c34f531546
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -22,9 +22,9 @@ pub trait Section {
#[derive(Debug)]
pub struct PaletteSectionBiomes<'a> {
biomes: Option<&'a fastnbt::LongArray>,
palette: &'a Vec<String>,
bits: u8,
_biomes: Option<&'a fastnbt::LongArray>,
_palette: &'a Vec<String>,
_bits: u8,
}
impl<'a> PaletteSectionBiomes<'a> {
@ -40,9 +40,9 @@ impl<'a> PaletteSectionBiomes<'a> {
}
Ok(PaletteSectionBiomes {
biomes,
palette,
bits,
_biomes: biomes,
_palette: palette,
_bits: bits,
})
}
}