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
|
|
@ -5,13 +5,12 @@ use std::fs;
|
|||
use std::path::Path;
|
||||
|
||||
use crate::io::layer_export::LayerExport;
|
||||
use crate::io::minecraft::{Result, data_version};
|
||||
use crate::io::minecraft::{data_version, Result};
|
||||
use crate::model::tile::Tile;
|
||||
use crate::model::world::World;
|
||||
|
||||
use super::chunk::{build_chunk_nbt, build_chunk_nbt_with_layers};
|
||||
|
||||
#[allow(clippy::type_complexity)]
|
||||
type RegionTiles<'a> = BTreeMap<(i32, i32), Vec<(&'a (i32, i32), &'a Tile)>>;
|
||||
|
||||
fn dim_region_path(output_path: &Path, dim_name: &str) -> std::path::PathBuf {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
pub mod dimension;
|
||||
pub mod world;
|
||||
mod world_impl;
|
||||
|
||||
pub use dimension::*;
|
||||
pub use world::*;
|
||||
pub use world_impl::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue