]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/src/docs/unsafe_removed_from_name.txt
Auto merge of #104673 - matthiaskrgr:rollup-85f65ov, r=matthiaskrgr
[rust.git] / src / tools / clippy / src / docs / unsafe_removed_from_name.txt
1 ### What it does
2 Checks for imports that remove "unsafe" from an item's
3 name.
4
5 ### Why is this bad?
6 Renaming makes it less clear which traits and
7 structures are unsafe.
8
9 ### Example
10 ```
11 use std::cell::{UnsafeCell as TotallySafeCell};
12
13 extern crate crossbeam;
14 use crossbeam::{spawn_unsafe as spawn};
15 ```