Explorar el Código

minor typo fix

Dastan-glitch hace 3 años
padre
commit
3c984e1b4c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)?;