Skip to content

Commit 2a0b283

Browse files
committed
liblibc: deny warnings in doctests
1 parent eb42797 commit 2a0b283

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/liblibc/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
2323
html_root_url = "https://doc.rust-lang.org/nightly/",
2424
html_playground_url = "https://play.rust-lang.org/",
25-
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/")]
25+
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
26+
test(attr(deny(warnings))))]
2627
#![cfg_attr(test, feature(test))]
2728
#![cfg_attr(not(feature = "cargo-build"), feature(cfg_target_vendor))]
2829

0 commit comments

Comments
 (0)