Fix clippy::trivially-copy-pass-by-ref (pedantic) (#862)

This commit is contained in:
Anders Kaseorg 2022-11-21 12:59:51 -08:00 committed by GitHub
parent 6b9e57fb78
commit 58949b564e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 53 additions and 53 deletions

View file

@ -17,7 +17,7 @@ pub fn useless_object_inheritance(
if checker.patch(check.kind.code()) {
if let Some(fix) = pyupgrade::fixes::remove_class_def_base(
checker.locator,
&stmt.location,
stmt.location,
check.location,
bases,
keywords,