Skip to content

Commit 98e219b

Browse files
committed
Fixed clippy lint for serde bounds
1 parent f45c5d4 commit 98e219b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
#![allow(incomplete_features)]
154154
#![feature(generic_const_exprs)]
155155
#![doc(html_root_url = "https://momolangenstein.github.io/const-type-layout")]
156+
#![cfg_attr(feature = "serde", allow(clippy::type_repetition_in_bounds))]
156157

157158
#[doc(hidden)]
158159
pub extern crate alloc;

0 commit comments

Comments
 (0)