tree-wide: fix some typos #598
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ pub trait Migrate: Serialize + for<'de> Deserialize<'de> + 'static {
|
||||||
Self::Previous::decode(bytes).map(Self::migrate)
|
Self::Previous::decode(bytes).map(Self::migrate)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Encode this type with optionnal version marker
|
/// Encode this type with optional version marker
|
||||||
fn encode(&self) -> Result<Vec<u8>, rmp_serde::encode::Error> {
|
fn encode(&self) -> Result<Vec<u8>, rmp_serde::encode::Error> {
|
||||||
let mut wr = Vec::with_capacity(128);
|
let mut wr = Vec::with_capacity(128);
|
||||||
wr.extend_from_slice(Self::VERSION_MARKER);
|
wr.extend_from_slice(Self::VERSION_MARKER);
|
||||||
|
|
Loading…
Reference in a new issue