cargo fmt

This commit is contained in:
Ryan 2022-04-17 17:06:13 -07:00
parent f35d8e7b13
commit b5a88be024
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,7 @@
#![forbid(unsafe_code)]
mod aabb;
pub mod block;
mod block_pos;
mod byte_angle;
mod chunk;
@ -19,7 +20,6 @@ pub mod util;
mod var_int;
mod var_long;
mod world;
pub mod block;
pub use aabb::Aabb;
pub use chunk::{Chunk, ChunkPos};

View file

@ -120,8 +120,8 @@ struct NewClientMessage {
reply: oneshot::Sender<anyhow::Result<ClientPacketChannels>>,
}
/// The result type returned from [`ServerConfig::start`] after the server is shut
/// down.
/// The result type returned from [`ServerConfig::start`] after the server is
/// shut down.
pub type ShutdownResult = Result<(), ShutdownError>;
pub type ShutdownError = Box<dyn Error + Send + Sync + 'static>;