aboutsummaryrefslogtreecommitdiff
path: root/src/util/migrate.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-07-14 14:25:40 +0300
committerFlorian Klink <flokli@flokli.de>2023-07-14 14:25:40 +0300
commitc855284760d4ac198f5acf2ae0e18f98870be98f (patch)
tree85f90fdd80ee92631cb5816f087126718c3659eb /src/util/migrate.rs
parentb1ca1784a12f2eed4cb9d85cdf8c3c1b8a0147da (diff)
downloadgarage-c855284760d4ac198f5acf2ae0e18f98870be98f.tar.gz
garage-c855284760d4ac198f5acf2ae0e18f98870be98f.zip
src/util: fix typo
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);