Skip to content

Commit

Permalink
no std
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Mar 15, 2024
1 parent 357b88c commit 6511565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/types/block/capabilities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl<Flag> core::fmt::Debug for Capabilities<Flag> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
f.debug_struct("Capabilities")
.field("bytes", &self.bytes)
.field("flag", &std::any::type_name::<Flag>().rsplit_once("::").unwrap().1)
.field("flag", &core::any::type_name::<Flag>().rsplit_once("::").unwrap().1)
.finish()
}
}
Expand Down

0 comments on commit 6511565

Please sign in to comment.