class='op'>=</span> <span class='ident'>channel</span>();
<span class='ident'>thread</span>::<span class='ident'>spawn</span>(<span class='kw'>move</span><span class='op'>||</span> {
    <span class='ident'>tx</span>.<span class='ident'>send</span>(<span class='number'>10</span>).<span class='ident'>unwrap</span>();
});
<span class='macro'>assert_eq</span><span class='macro'>!</span>(<span class='ident'>rx</span>.<span class='ident'>recv</span>().<span class='ident'>unwrap</span>(), <span class='number'>10<