We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7478430 commit f2daa2eCopy full SHA for f2daa2e
src/filesystem/cluster.rs
@@ -38,22 +38,22 @@ impl core::fmt::Debug for ClusterId {
38
write!(f, "ClusterId(")?;
39
match *self {
40
Self::INVALID => {
41
- write!(f, "INVALID")?;
+ write!(f, "{:08}", "INVALID")?;
42
}
43
Self::BAD => {
44
- write!(f, "BAD")?;
+ write!(f, "{:08}", "BAD")?;
45
46
Self::EMPTY => {
47
- write!(f, "EMPTY")?;
+ write!(f, "{:08}", "EMPTY")?;
48
49
Self::ROOT_DIR => {
50
- write!(f, "ROOT_DIR")?;
+ write!(f, "{:08}", "ROOT")?;
51
52
Self::END_OF_FILE => {
53
- write!(f, "END_OF_FILE")?;
+ write!(f, "{:08}", "EOF")?;
54
55
ClusterId(value) => {
56
- write!(f, "{:#08x}", value)?;
+ write!(f, "{:08x}", value)?;
57
58
59
write!(f, ")")?;
0 commit comments