Skip to content

Commit 94b780a

Browse files
committed
dir/gen2: rework and sort imports
Signed-off-by: Daniel Maslowski <[email protected]>
1 parent edf6c2a commit 94b780a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/dir/gen2.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
use crate::dir::man::{self, Manifest};
21
use core::fmt::{self, Display};
2+
use core::str::from_utf8;
3+
34
use serde::{Deserialize, Serialize};
4-
use std::str::from_utf8;
55
use zerocopy::{FromBytes, Ref};
66
use zerocopy_derive::{FromBytes, Immutable, IntoBytes};
77

8+
use crate::dir::man::{self, Manifest};
9+
810
const ENTRY_MAGIC: &[u8] = b"$MME";
911
const SIG_LUT: u32 = u32::from_le_bytes(*b"LLUT");
1012
const SIG_LZMA: u32 = u32::from_le_bytes([0x36, 0x00, 0x40, 0x00]);

0 commit comments

Comments
 (0)