Browse Source

minor typo fix

Dastan-glitch 3 năm trước cách đây
mục cha
commit
3c984e1b4c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/serial/src/lib.rs

+ 1 - 1
src/serial/src/lib.rs

@@ -59,7 +59,7 @@ pub fn deserialize_partial<T: Decodable>(data: &[u8]) -> Result<(T, usize), Erro
 }
 
 /// Deserialize an object from a vector.
-/// Will error if said deserialization doesn't consume the entore vector.
+/// Will error if said deserialization doesn't consume the entire vector.
 pub fn deserialize<T: Decodable>(data: &[u8]) -> Result<T, Error> {
     let (rv, consumed) = deserialize_partial(data)?;