Skip to content

Commit d8763bb

Browse files
committed
enable lints
1 parent fa1fae7 commit d8763bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@
5353
//! See more examples in the [examples](https://github.com/http-rs/tide/tree/main/examples) directory.
5454
5555
#![cfg_attr(feature = "docs", feature(doc_cfg))]
56-
// #![warn(missing_docs)]
57-
#![warn(missing_debug_implementations, rust_2018_idioms)]
58-
#![doc(test(attr(deny(rust_2018_idioms, warnings))))]
59-
#![doc(test(attr(allow(unused_extern_crates, unused_variables))))]
56+
#![forbid(unsafe_code, rust_2018_idioms)]
57+
#![deny(future_incompatible, missing_debug_implementations, nonstandard_style)]
58+
#![warn(missing_docs, missing_doc_code_examples, unreachable_pub)]
6059
#![doc(html_favicon_url = "https://yoshuawuyts.com/assets/http-rs/favicon.ico")]
6160
#![doc(html_logo_url = "https://yoshuawuyts.com/assets/http-rs/logo-rounded.png")]
6261

0 commit comments

Comments
 (0)