diff options
Diffstat (limited to 'src/tools/clippy/src/docs/crosspointer_transmute.txt')
-rw-r--r-- | src/tools/clippy/src/docs/crosspointer_transmute.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/clippy/src/docs/crosspointer_transmute.txt b/src/tools/clippy/src/docs/crosspointer_transmute.txt deleted file mode 100644 index 49dea1549..000000000 --- a/src/tools/clippy/src/docs/crosspointer_transmute.txt +++ /dev/null @@ -1,12 +0,0 @@ -### What it does -Checks for transmutes between a type `T` and `*T`. - -### Why is this bad? -It's easy to mistakenly transmute between a type and a -pointer to that type. - -### Example -``` -core::intrinsics::transmute(t) // where the result type is the same as - // `*t` or `&t`'s -```
\ No newline at end of file |