]> git.lizzy.rs Git - rust.git/commit
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)
commit54285db640453d2beec91423cb8cc792f52797f2
treef8a09a299d9c7e09f562913e7aadefd3c4f12f0e
parent937ca434b1478f185a8b1335e395a7ce30ab7ee2
parent2f7d7c03334924d8d7b3630545cef62038ff0526
Rollup merge of #70194 - kornelski:must_split, r=joshtriplett

#[must_use] on split_off()

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