Skip to content

Commit 02c5069

Browse files
committed
Deny warnings in doctests
1 parent ea52986 commit 02c5069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
//! Advanced time zone handling is not yet supported.
383383
//! For now you can try the [Chrono-tz](https://github.com/chronotope/chrono-tz/) crate instead.
384384
385-
#![doc(html_root_url = "https://docs.rs/chrono/latest/")]
385+
#![doc(html_root_url = "https://docs.rs/chrono/latest/", test(attr(deny(warnings))))]
386386
#![cfg_attr(feature = "bench", feature(test))] // lib stability features as per RFC #507
387387
#![deny(missing_docs)]
388388
#![deny(missing_debug_implementations)]

0 commit comments

Comments
 (0)