]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #50941 - kennytm:never-ok, r=sfackler
authorbors <bors@rust-lang.org>
Wed, 13 Jun 2018 00:10:12 +0000 (00:10 +0000)
committerbors <bors@rust-lang.org>
Wed, 13 Jun 2018 00:10:12 +0000 (00:10 +0000)
Replace `core::iter::AlwaysOk<T>` by `Result<T, !>`

#43278 has been fixed, so we don't need this struct anymore.

(Actually we don't even need `.unwrap()` thanks to `#![feature(exhaustive_patterns)]`)


Trivial merge