tree-wide: fix some typos #598

Merged
lx merged 5 commits from flokli/garage:fix-typos into main 2023-07-14 15:51:45 +00:00
Showing only changes of commit c855284760 - Show all commits

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);