Skip to content

Commit

Permalink
fixup! Move common HostResponseHeader to const structs
Browse files Browse the repository at this point in the history
  • Loading branch information
flokli committed May 19, 2023
1 parent 40290fe commit 1a4bdc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ impl HstResponseHeader {

/// Return the serialized header as vector of bytes
pub fn to_vec(&self) -> Vec<u8> {
self.as_slice().to_vec()
self.as_slice().to_vec()
}

pub const ERRNO_HOST_NOT_FOUND: Self = Self {
Expand Down

0 comments on commit 1a4bdc3

Please sign in to comment.