Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove trailing whitespace
  • Loading branch information
estebank committed Oct 15, 2019
1 parent 39a9e2e commit 8cabb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/traits/error_reporting.rs
Expand Up @@ -1066,7 +1066,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
param_name == p.name.ident().as_str()
}) {
if param_name.starts_with("impl ") {
// `impl Trait` in argument:
// `impl Trait` in argument:
// `fn foo(x: impl Trait) {}` → `fn foo(t: impl Trait + Trait2) {}`
err.span_suggestion(
param.span,
Expand Down

0 comments on commit 8cabb42

Please sign in to comment.