From 2fe5de96f0ca4250ed776aa93cef4e80d8bfd90f Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 5 Aug 2021 07:29:09 +0000 Subject: [PATCH] vhost_user: fix struct name in Debug impl I think this might have been a remnant of the example in the fmt documentation![1] [1]: https://doc.rust-lang.org/stable/core/fmt/trait.Debug.html#examples Signed-off-by: Alyssa Ross --- src/vhost_user/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vhost_user/message.rs b/src/vhost_user/message.rs index 5b1257f..09e5f28 100644 --- a/src/vhost_user/message.rs +++ b/src/vhost_user/message.rs @@ -234,7 +234,7 @@ pub(super) struct VhostUserMsgHeader { impl Debug for VhostUserMsgHeader { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - f.debug_struct("Point") + f.debug_struct("VhostUserMsgHeader") .field("request", &{ self.request }) .field("flags", &{ self.flags }) .field("size", &{ self.size })