]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #70194 - kornelski:must_split, r=joshtriplett
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 21 Mar 2020 04:33:36 +0000 (05:33 +0100)
committerGitHub <noreply@github.com>
Sat, 21 Mar 2020 04:33:36 +0000 (05:33 +0100)
#[must_use] on split_off()

I've noticed this function used for truncation in the wild. `must_use` will clear that up.


Trivial merge