From b1ca1784a12f2eed4cb9d85cdf8c3c1b8a0147da Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 14 Jul 2023 14:25:33 +0300 Subject: src/garage/cli: fix typo --- src/garage/cli/structs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs index 01ae92da..6e585e53 100644 --- a/src/garage/cli/structs.rs +++ b/src/garage/cli/structs.rs @@ -216,7 +216,7 @@ pub struct WebsiteOpt { #[structopt(short = "i", long = "index-document", default_value = "index.html")] pub index_document: String, - /// Error document: the optionnal document returned when an error occurs + /// Error document: the optional document returned when an error occurs #[structopt(short = "e", long = "error-document")] pub error_document: Option, } -- cgit v1.2.3 From c855284760d4ac198f5acf2ae0e18f98870be98f Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 14 Jul 2023 14:25:40 +0300 Subject: src/util: fix typo --- src/util/migrate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, rmp_serde::encode::Error> { let mut wr = Vec::with_capacity(128); wr.extend_from_slice(Self::VERSION_MARKER); -- cgit v1.2.3