This commit is contained in:
Taehyung Lim 2021-06-14 05:25:37 +09:00 committed by GitHub
parent cd58cf2e7e
commit 0d046e7b0e
1 changed files with 2 additions and 2 deletions

View File

@ -150,12 +150,12 @@ pub trait Options: InternalOptions + Sized {
WithOtherEndian::new(self)
}
/// Sets the length encoding to varint
/// Sets the integer encoding to varint
fn with_varint_encoding(self) -> WithOtherIntEncoding<Self, VarintEncoding> {
WithOtherIntEncoding::new(self)
}
/// Sets the length encoding to be fixed
/// Sets the integer encoding to be fixed
fn with_fixint_encoding(self) -> WithOtherIntEncoding<Self, FixintEncoding> {
WithOtherIntEncoding::new(self)
}