Skip to content

Commit f930e7b

Browse files
authored
Merge pull request #60 from mbrubeck/unsafe
Actually forbid unsafe code
2 parents 390dd47 + 7df4a6e commit f930e7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $ cargo add async-h1
4747
```
4848

4949
## Safety
50-
This crate uses ``#![deny(unsafe_code)]`` to ensure everything is implemented in
50+
This crate uses ``#![forbid(unsafe_code)]`` to ensure everything is implemented in
5151
100% Safe Rust.
5252

5353
## Contributing

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
//! }
9292
//! ```
9393
94-
// #![forbid(unsafe_code, rust_2018_idioms)]
94+
#![forbid(unsafe_code, rust_2018_idioms)]
9595
#![deny(missing_debug_implementations, nonstandard_style)]
9696
#![warn(missing_docs, missing_doc_code_examples, unreachable_pub)]
9797
#![cfg_attr(test, deny(warnings))]

0 commit comments

Comments
 (0)