diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2019-11-23 10:23:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-23 10:23:12 -0500 |
| commit | 2ba982d0e5ad87581e3685cba9207ffaf61a866e (patch) | |
| tree | 89a4ec437cb91a0cdfc834a7b7e214a6eb2ec2ff | |
| parent | bc7b17c4779f09778e014b6c4c8198ac1f9a8ffa (diff) | |
Remove unnecessary clone
| -rw-r--r-- | src/librustc_typeck/collect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs index f4c8763f879..8dced83b987 100644 --- a/src/librustc_typeck/collect.rs +++ b/src/librustc_typeck/collect.rs @@ -2128,7 +2128,7 @@ fn explicit_predicates_of( } else { // named opaque types predicates.extend(bounds_predicates); - generics.clone() + generics } } |
