Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Commit 14872ad

Browse files
committed
Work around empty_docs clippy lint in test
warning: empty doc comment --> tests/test_item.rs:174:17 | 174 | #[doc = $doc] | ^^^^^^^^^^^^^ ... 180 | doc_expr!(stringify!()); | ----------------------- in this macro invocation | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs = note: `-W clippy::empty-docs` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::empty_docs)]` = note: this warning originates in the macro `doc_expr` (in Nightly builds, run with -Z macro-backtrace for more info)
1 parent ed844dc commit 14872ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ mod test_doc_expr {
177177
};
178178
}
179179

180-
doc_expr!(stringify!());
180+
doc_expr!(stringify!(...));
181181

182182
#[test]
183183
fn test_doc_expr() {

0 commit comments

Comments
 (0)