From ef8c3775afd735140a5a4f8c2fa30ac8e5ac51c7 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sat, 11 Jul 2015 23:01:30 +0200 Subject: [PATCH] doc: make explanation easier to undrstand --- src/librustc/diagnostics.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); }