From a2600c5650a5cd13d078075fba176c524a28856f Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Sat, 25 May 2024 14:39:05 +0200 Subject: [PATCH] Use EventrwflagsDetails in fmt::Debug impl for wasi::Event --- src/sys/wasi/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys/wasi/mod.rs b/src/sys/wasi/mod.rs index 596d365d9..e1169d28b 100644 --- a/src/sys/wasi/mod.rs +++ b/src/sys/wasi/mod.rs @@ -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() } }