serde: Add missing period in docs

This commit is contained in:
Jonas Platte 2021-09-28 14:22:05 +02:00
parent e2386b7b64
commit 00ae571636
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -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