Skip to content

Commit

Permalink
🔥 zb: Drop message::Header::into_fields
Browse files Browse the repository at this point in the history
We don't need this method internally, doubt anyone uses it and we're
about to turn Field* API private anyway.
  • Loading branch information
zeenix committed Aug 15, 2023
1 parent 6d27d1e commit 8b1376b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions zbus/src/message/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,6 @@ impl<'m> Header<'m> {
&mut self.fields
}

/// Get the message fields, consuming `self`.
pub fn into_fields(self) -> Fields<'m> {
self.fields
}

/// The message type
pub fn message_type(&self) -> Type {
self.primary().msg_type()
Expand Down

0 comments on commit 8b1376b

Please sign in to comment.