Tracking Issue for Result::flatten (result_flattening) · Issue #70142 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@Nemo157

Description

@Nemo157

This is a tracking issue for the Result::flatten API.
The feature gate for the issue is #![feature(result_flattening)].

impl<T, E> Result<Result<T, E>, E> { pub fn flatten(self) -> Result<T, E>; }

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Unresolved Questions

Implementation history