]> git.lizzy.rs Git - rust.git/commit
Adjust example for error E0225
authorUlrik Sverdrup <bluss@users.noreply.github.com>
Sat, 16 Apr 2016 19:29:31 +0000 (21:29 +0200)
committerUlrik Sverdrup <bluss@users.noreply.github.com>
Sat, 16 Apr 2016 19:30:50 +0000 (21:30 +0200)
commit869536ed2c45bc5bdcdeabc92221cba36c3f7ec7
tree2a859760b047e9131367325aea7576052dbd8ee8
parentf0a1ea27ccf17e2f63c496e868aa7614842c077b
Adjust example for error E0225

It's using Copy as a trait object compatible trait, which is not
appropriate, change to use a more typical Read + Send + Sync example.

Also use whitespace around `+`.
src/librustc_typeck/diagnostics.rs