blob: 6f55c1815dd65001fb98d508923d3ac403bacc9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
### What it does
Checks for imports that remove "unsafe" from an item's
name.
### Why is this bad?
Renaming makes it less clear which traits and
structures are unsafe.
### Example
```
use std::cell::{UnsafeCell as TotallySafeCell};
extern crate crossbeam;
use crossbeam::{spawn_unsafe as spawn};
```
|