treewide: cargo fmt with 1.85

This commit is contained in:
Matthias Schiffer 2025-03-13 21:44:10 +01:00
parent 7bba5bae55
commit 775fcb2d1b
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
8 changed files with 18 additions and 20 deletions

View file

@ -2,11 +2,11 @@
use std::{
fs::File,
io::{prelude::*, SeekFrom},
io::{SeekFrom, prelude::*},
path::Path,
};
use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
use flate2::read::ZlibDecoder;
use serde::de::DeserializeOwned;

View file

@ -11,7 +11,7 @@ mod legacy_block_types;
use std::collections::HashMap;
use bincode::{BorrowDecode, Decode, Encode};
use enumflags2::{bitflags, BitFlags};
use enumflags2::{BitFlags, bitflags};
/// Flags describing special properties of [BlockType]s
#[bitflags]

View file

@ -48,10 +48,10 @@ macro_rules! coord_type {
/// Returns an iterator over all possible values of the type
#[inline]
pub fn iter() -> impl DoubleEndedIterator<Item = $t<AXIS>>
+ ExactSizeIterator
+ FusedIterator
+ Clone
+ Debug {
+ ExactSizeIterator
+ FusedIterator
+ Clone
+ Debug {
(0..Self::MAX as u8).map($t)
}
}