Tracking Issue for Result::into_ok_or_err / feature(result_into_ok_or_err) · Issue #82223 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@thomcc

Description

@thomcc

Feature gate: #![feature(result_into_ok_or_err)]

This is a tracking issue for Result::into_ok_or_err, a method to get the T out of Result<T, T> regardless of which variant is active.

Public API

impl Result<T, T> { pub const fn into_ok_or_err(self) -> T; }

Steps / History

Unresolved Questions