Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
khernyo committed May 13, 2018
1 parent 0028ddf commit 7f0fe2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Header {
}
}

/// Parse a 32 bit buffer slice into a valid Header.
/// Parse a 32 byte buffer slice into a valid Header.
pub fn from_vec(buffer: &[u8]) -> Result<Header, Error> {
ensure!(buffer.len() == 32, "buffer should be 32 bytes");

Expand Down

0 comments on commit 7f0fe2b

Please sign in to comment.