Skip to content

Commit cb5e327

Browse files
committed
Address travis CI lint failure
1 parent ca48031 commit cb5e327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/trivially_copy_pass_by_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl<'a, 'tcx> TriviallyCopyPassByRef {
154154
) {
155155
for item in trait_items {
156156
match item.kind {
157-
AssociatedItemKind::Method{ has_self: _ } => self.check_trait_method(cx, item),
157+
AssociatedItemKind::Method{..} => self.check_trait_method(cx, item),
158158
_ => (),
159159
}
160160
}

0 commit comments

Comments
 (0)