aboutsummaryrefslogtreecommitdiff
path: root/src/util/migrate.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-07-14 15:51:44 +0000
committerAlex <alex@adnab.me>2023-07-14 15:51:44 +0000
commit6ba611361e6d3ae701ea211adddbed61ea338da7 (patch)
tree85f90fdd80ee92631cb5816f087126718c3659eb /src/util/migrate.rs
parent7605d0cb117d80e7140812e96264e86a4c987080 (diff)
parentc855284760d4ac198f5acf2ae0e18f98870be98f (diff)
downloadgarage-6ba611361e6d3ae701ea211adddbed61ea338da7.tar.gz
garage-6ba611361e6d3ae701ea211adddbed61ea338da7.zip
Merge pull request 'tree-wide: fix some typos' (#598) from flokli/garage:fix-typos into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/598
Diffstat (limited to 'src/util/migrate.rs')
-rw-r--r--src/util/migrate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/migrate.rs b/src/util/migrate.rs
index 1229fd9c..b9cce08a 100644
--- a/src/util/migrate.rs
+++ b/src/util/migrate.rs
@@ -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);