]> git.lizzy.rs Git - rust.git/commit
tests/ui/let_unit: fix comment and example code
authorJoonas Koivunen <joonas.koivunen@gmail.com>
Fri, 18 Aug 2017 14:29:05 +0000 (17:29 +0300)
committerJoonas Koivunen <joonas.koivunen@gmail.com>
Fri, 18 Aug 2017 14:29:05 +0000 (17:29 +0300)
commit171f7b4eb7fed11f9282eb0c5af5eda1e77f9bc6
tree53518a836adc7d03914e2f191f27f4c54c3de517
parenta5147e8a0819dd1daab28a3ef1970069396a5bf1
tests/ui/let_unit: fix comment and example code

The previous version would had deadlocked as the Sender remained alive
and iterator would had never became complete. Just in case someone
decided to run it.
tests/ui/let_unit.rs