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:
parent
37a6a8e464
commit
2fe5de96f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue