diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-07-12 18:35:55 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-07-12 18:35:55 +0530 |
| commit | afe16ae7ff0b88ee2f367d8233d1f8e09d6918a2 (patch) | |
| tree | b82d042b7f64c6bc819223a908a61bd3a636b9d3 /src | |
| parent | dcc64d113ccdd4ecfe33fb35267ef4533cfefb00 (diff) | |
| parent | ef8c3775afd735140a5a4f8c2fa30ac8e5ac51c7 (diff) | |
| download | rust-afe16ae7ff0b88ee2f367d8233d1f8e09d6918a2.tar.gz rust-afe16ae7ff0b88ee2f367d8233d1f8e09d6918a2.zip | |
Rollup merge of #26976 - tshepang:more-simple-explanation, r=gankro
That sentence make me read it a few times before properly understanding it
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/diagnostics.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 68aba382f6b..9aa5daa3a0a 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<T: Foo>(foo: T) { foo.bar(); } |
