summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2a36825..f8c3543 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,6 @@
+// Deny warnings inside doc tests / examples
+#![doc(test(attr(deny(warnings))))]
+
#[cfg_attr(test, macro_use)]
extern crate hlist_macro;