Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unnecessary clone
  • Loading branch information
Aaron1011 authored Nov 23, 2019
commit 2ba982d0e5ad87581e3685cba9207ffaf61a866e
2 changes: 1 addition & 1 deletion src/librustc_typeck/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2128,7 +2128,7 @@ fn explicit_predicates_of(
} else {
// named opaque types
predicates.extend(bounds_predicates);
generics.clone()
generics
}
}

Expand Down