diff --git a/ruma-serde/src/lib.rs b/ruma-serde/src/lib.rs index 61395efd..e4f5b133 100644 --- a/ruma-serde/src/lib.rs +++ b/ruma-serde/src/lib.rs @@ -39,7 +39,7 @@ pub fn is_true(b: &bool) -> bool { /// formulation in the spec. /// /// To be used like this: -/// `#[serde(deserialize_with = "empty_string_as_none"]` +/// `#[serde(deserialize_with = "empty_string_as_none")]` /// Relevant serde issue: https://github.com/serde-rs/serde/issues/1425 pub fn empty_string_as_none<'de, D, T>(de: D) -> Result, D::Error> where