diff --git a/units/src/amount/serde.rs b/units/src/amount/serde.rs index fc4ca82e3..4be766058 100644 --- a/units/src/amount/serde.rs +++ b/units/src/amount/serde.rs @@ -230,7 +230,7 @@ pub mod as_sat { type Value = Option; fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { - write!(formatter, "An Option<{}64>", X::type_prefix(private::Token)) + write!(formatter, "an Option<{}64>", X::type_prefix(private::Token)) } fn visit_none(self) -> Result @@ -301,7 +301,7 @@ pub mod as_btc { type Value = Option; fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { - write!(formatter, "An Option") + write!(formatter, "an Option") } fn visit_none(self) -> Result @@ -372,7 +372,7 @@ pub mod as_str { type Value = Option; fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { - write!(formatter, "An Option") + write!(formatter, "an Option") } fn visit_none(self) -> Result