diff --git a/crates/ruma-serde/src/lib.rs b/crates/ruma-serde/src/lib.rs index 0d760905..4b2e5ea6 100644 --- a/crates/ruma-serde/src/lib.rs +++ b/crates/ruma-serde/src/lib.rs @@ -51,7 +51,7 @@ pub fn default_true() -> bool { /// Simply dereferences the given bool. /// -/// Useful for `#[serde(skip_serializing_if = ...)]` +/// Useful for `#[serde(skip_serializing_if = ...)]`. #[allow(clippy::trivially_copy_pass_by_ref)] pub fn is_true(b: &bool) -> bool { *b