Skip to content

Commit

Permalink
Remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Nov 23, 2019
1 parent bc7b17c commit 2ba982d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/collect.rs
Expand Up @@ -2128,7 +2128,7 @@ fn explicit_predicates_of(
} else {
// named opaque types
predicates.extend(bounds_predicates);
generics.clone()
generics
}
}

Expand Down

0 comments on commit 2ba982d

Please sign in to comment.