diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 3dbc80d352d..4a683cb330b 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -791,8 +791,7 @@ trait Foo { fn bar(&self); } -// we now declare a function which takes an object with Foo trait implemented -// as parameter +// we now declare a function which takes an object implementing the Foo trait fn some_func(foo: T) { foo.bar(); }