]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #44712 - oconnor663:copy_test, r=GuillaumeGomez
authorCorey Farwell <coreyf@rwell.org>
Sat, 23 Sep 2017 04:29:13 +0000 (00:29 -0400)
committerGitHub <noreply@github.com>
Sat, 23 Sep 2017 04:29:13 +0000 (00:29 -0400)
commit075e16b2615ed16db9225bb28048cb334324e071
treeb7fe2d5b7dd71af009d7f235f223970ca829f1e5
parentbdbe6e2b35e106979b066b5c8fb9131e91392e4d
parentc9099ff11b1d44a4942f448750cafe8e5c2fd915
Rollup merge of #44712 - oconnor663:copy_test, r=GuillaumeGomez

fix an incorrect assertion in the doc example for `std::io::copy`

I think this wasn't caught by CI because the `foo` wrapper function was only defined and not called. This seems to be the norm for doc examples that define a `foo` function. Is that on purpose?
src/libstd/io/util.rs