Skip to content

Commit b30ec1f

Browse files
committed
Ignore clippy::test_attr_in_doctest lint
``` error: unit tests in doctest are not executed --> futures-test/src/lib.rs:77:5 | 77 | /// #[test] | _____^ 78 | | /// fn my_test() { | |______________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#test_attr_in_doctest = note: `-D clippy::test-attr-in-doctest` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::test_attr_in_doctest)]` ```
1 parent 396d429 commit b30ec1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

futures-test/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
allow(dead_code, unused_assignments, unused_variables)
1515
)
1616
))]
17+
#![allow(clippy::test_attr_in_doctest)]
1718

1819
#[cfg(not(feature = "std"))]
1920
compile_error!(

0 commit comments

Comments
 (0)