diff options
Diffstat (limited to 'src/tools/clippy/src/docs/no_effect_replace.txt')
-rw-r--r-- | src/tools/clippy/src/docs/no_effect_replace.txt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/tools/clippy/src/docs/no_effect_replace.txt b/src/tools/clippy/src/docs/no_effect_replace.txt deleted file mode 100644 index 646d45287..000000000 --- a/src/tools/clippy/src/docs/no_effect_replace.txt +++ /dev/null @@ -1,11 +0,0 @@ -### What it does -Checks for `replace` statements which have no effect. - -### Why is this bad? -It's either a mistake or confusing. - -### Example -``` -"1234".replace("12", "12"); -"1234".replacen("12", "12", 1); -```
\ No newline at end of file |