[refurb] Implement no-slice-copy (FURB145) (#7007)

## Summary

Implement
[`no-slice-copy`](https://github.com/dosisod/refurb/blob/master/refurb/checks/builtin/no_slice_copy.py)
as `slice-copy` (`FURB145`).

Related to #1348.

## Test Plan

`cargo test`
This commit is contained in:
Tom Kuson 2023-09-13 18:31:15 +01:00 committed by GitHub
parent b0cbcd3dfa
commit ebe9c03545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 325 additions and 40 deletions

View file

@ -811,6 +811,7 @@ mod tests {
Rule::RepeatedAppend,
Rule::DeleteFullSlice,
Rule::CheckAndRemoveFromSet,
Rule::SliceCopy,
Rule::QuadraticListSummation,
];