aboutsummaryrefslogtreecommitdiff
path: root/src/util/migrate.rs
diff options
context:
space:
mode:
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 5b708cc8..45147c74 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);