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