rustdoc: Use new ||/proc syntax
auto merge of #10694 : klutzy/rust/rustdoc-closure, r=alexcrichton