Browse Source

Fix typo in base_codec.rs

wip
Titouan Rigoudy 5 years ago
parent
commit
5894f425b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/proto/base_codec.rs

+ 1
- 1
src/proto/base_codec.rs View File

@ -29,7 +29,7 @@ use encoding::{DecoderTrap, EncoderTrap, Encoding};
pub const U32_BYTE_LEN: usize = 4; pub const U32_BYTE_LEN: usize = 4;
pub trait Decode<T> { pub trait Decode<T> {
/// Attempts to decode an istance of `T` from `self`.
/// Attempts to decode an instance of `T` from `self`.
fn decode(&mut self) -> io::Result<T>; fn decode(&mut self) -> io::Result<T>;
} }


Loading…
Cancel
Save