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 <hi@alyssa.is>
This commit is contained in:
Alyssa Ross 2021-08-05 07:29:09 +00:00 committed by Sebastien Boeuf
parent 37a6a8e464
commit 2fe5de96f0

View file

@ -234,7 +234,7 @@ pub(super) struct VhostUserMsgHeader<R: Req> {
impl<R: Req> Debug for VhostUserMsgHeader<R> {
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 })