Skip to content

Commit f23f9b5

Browse files
committed
Allow clippy::ref_option lint for serde::format_description.
1 parent ec327a2 commit f23f9b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

time-macros/src/serde_format_description.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ pub(crate) fn build(
103103

104104
let serialize_option = if cfg!(feature = "formatting") {
105105
quote! {
106+
#[allow(clippy::ref_option)]
106107
pub fn serialize<S: ::serde::Serializer>(
107108
option: &Option<__TimeSerdeType>,
108109
serializer: S,

0 commit comments

Comments
 (0)