fix invalid endianness in documentation (#1845)

* fix doc about term endianness

* rustfmt
This commit is contained in:
trinity-1686a
2023-02-09 15:36:38 +01:00
committed by GitHub
parent 405e2cf4d9
commit 3ac973bea4
2 changed files with 588 additions and 588 deletions

View File

@@ -366,7 +366,7 @@ where B: AsRef<[u8]>
///
/// If the term is a string, its value is utf-8 encoded.
/// If the term is a u64, its value is encoded according
/// to `byteorder::LittleEndian`.
/// to `byteorder::BigEndian`.
pub fn value_bytes(&self) -> &[u8] {
&self.0.as_ref()[TERM_METADATA_LENGTH..]
}

File diff suppressed because it is too large Load Diff