Skip to content

Commit

Permalink
Use EventrwflagsDetails in fmt::Debug impl for wasi::Event
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed May 26, 2024
1 parent 162d8d8 commit d476606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/wasi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ pub(crate) mod event {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("EventFdReadwrite")
.field("nbytes", &self.0.nbytes)
.field("flags", &self.0.flags)
.field("flags", &EventrwflagsDetails(self.0.flags))
.finish()
}
}
Expand Down

0 comments on commit d476606

Please sign in to comment.