fast-socks5 icon indicating copy to clipboard operation
fast-socks5 copied to clipboard

Typo fix, forbid unsafe code

Open AlyoshaVasilieva opened this issue 2 years ago • 0 comments

error: useless lint attribute
 --> src\lib.rs:1:1
  |
1 | #[forbid(unsafe_code)]
  | ^^^^^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use: `#![forbid(unsafe_code)]`
  |
  = note: `#[deny(clippy::useless_attribute)]` on by default
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute

error: useless lint attribute
 --> src\client.rs:1:1
  |
1 | #[forbid(unsafe_code)]
  | ^^^^^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use: `#![forbid(unsafe_code)]`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute

#![forbid(unsafe_code)] in lib.rs is crate-level forbid of unsafe code

AlyoshaVasilieva avatar Jun 04 '22 01:06 AlyoshaVasilieva