Fix clippy::module_inception: rename nested modules palette/palette->palette_impl, chunk/chunk->chunk_impl, region/region->region_impl, world/world->world_impl
This commit is contained in:
parent
2419b603c1
commit
5789850310
12 changed files with 13 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
|||
mod palette;
|
||||
mod palette_impl;
|
||||
mod palette_io;
|
||||
|
||||
pub use palette::*;
|
||||
pub use palette_impl::*;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
use std::collections::HashMap;
|
||||
use terrafier_nbt::Tag;
|
||||
|
||||
use super::palette::{BlockPalette, BlockState};
|
||||
use super::palette_impl::{BlockPalette, BlockState};
|
||||
|
||||
impl BlockState {
|
||||
/// Parse from `TAG_Compound` with `"Name"` and optional `"Properties"`.
|
||||
|
|
@ -73,7 +73,7 @@ impl BlockPalette {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::super::palette::{BlockPalette, BlockState};
|
||||
use super::super::palette_impl::{BlockPalette, BlockState};
|
||||
use terrafier_nbt::Tag;
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue