mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-21 05:19:06 +02:00
treewide: cargo fmt with 1.85
This commit is contained in:
parent
7bba5bae55
commit
775fcb2d1b
8 changed files with 18 additions and 20 deletions
|
@ -205,8 +205,10 @@ pub fn cli() -> Result<()> {
|
|||
if config.num_threads != config.num_threads_initial {
|
||||
pool = setup_threads(config.num_threads)?;
|
||||
}
|
||||
pool.install(move || loop {
|
||||
wait_watcher(&args, &watch_channel)?;
|
||||
generate(&config, &rt)?;
|
||||
pool.install(move || {
|
||||
loop {
|
||||
wait_watcher(&args, &watch_channel)?;
|
||||
generate(&config, &rt)?;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ use tracing::{debug, info};
|
|||
use super::{common::*, region_group::RegionGroup};
|
||||
use crate::{
|
||||
io::{fs, storage},
|
||||
resource::{block_color, needs_biome, Colorf},
|
||||
resource::{Colorf, block_color, needs_biome},
|
||||
types::*,
|
||||
util::coord_offset,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue