Merge branch 'main' into next

This commit is contained in:
Alex Auvolat
2023-08-29 11:32:42 +02:00
48 changed files with 2918 additions and 2906 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ pub trait Migrate: Serialize + for<'de> Deserialize<'de> + 'static {
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> {
let mut wr = Vec::with_capacity(128);
wr.extend_from_slice(Self::VERSION_MARKER);