Skip to content

Commit af6ac20

Browse files
committed
Allow *any* unused code in doc tests
1 parent 0eb3cc6 commit af6ac20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#![deny(missing_docs)]
2424
#![deny(missing_debug_implementations)]
2525
#![deny(clippy::undocumented_unsafe_blocks)]
26-
#![doc(test(attr(allow(unused_variables), deny(warnings))))]
26+
#![doc(test(attr(allow(unused), deny(warnings))))]
2727
#![cfg_attr(docsrs, feature(doc_cfg))]
2828
#![no_std]
2929

0 commit comments

Comments
 (0)