Skip to content

Commit

Permalink
Forbid unsafe everywhere
Browse files Browse the repository at this point in the history
Looks much better in cargo-geiger, and is the right thing to do
I believe. Most crates should be able to work without any unsafe.
  • Loading branch information
Sebastian Thiel committed Jul 22, 2019
1 parent 387cc1f commit f4028ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![forbid(unsafe_code)]

extern crate failure;
extern crate jwalk;

Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![forbid(unsafe_code)]
#![allow(clippy::match_bool)]
extern crate failure;
extern crate failure_tools;
Expand Down
2 changes: 2 additions & 0 deletions tui-react/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![forbid(unsafe_code)]

mod list;
mod terminal;

Expand Down

0 comments on commit f4028ba

Please sign in to comment.