diff --git a/src/lib.rs b/src/lib.rs index a165be6..763328e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -698,10 +698,10 @@ pub fn encode_buf>(num: T, buf: &mut String) { /// /// # Safety /// - To encode all possible values of u128, the buffer must be at least 22 bytes long. However -/// a smaller buffer may be used if the value to be encoded is known to be smaller. -/// Base62 encoding adds 37.5% overhead to the size of the input. +/// a smaller buffer may be used if the value to be encoded is known to be smaller. +/// Base62 encoding adds 37.5% overhead to the size of the input. /// - The remaining end of the buffer is left untouched. It's up to the caller to zero it using -/// the returned len if they want to. +/// the returned len if they want to. /// /// # Example /// @@ -734,10 +734,10 @@ pub fn encode_bytes>(num: T, buf: &mut [u8]) -> Result