diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/clippy/src/docs/op_ref.txt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/tools/clippy/src/docs/op_ref.txt b/src/tools/clippy/src/docs/op_ref.txt deleted file mode 100644 index 7a7ed1bc9..000000000 --- a/src/tools/clippy/src/docs/op_ref.txt +++ /dev/null @@ -1,17 +0,0 @@ -### What it does -Checks for arguments to `==` which have their address -taken to satisfy a bound -and suggests to dereference the other argument instead - -### Why is this bad? -It is more idiomatic to dereference the other argument. - -### Example -``` -&x == y -``` - -Use instead: -``` -x == *y -```
\ No newline at end of file |