A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rust-lang/rust/issues/85454 below:

rustdoc removes Try from <Self as Try>::Residual in std::ops::FromResidual · Issue #85454 · rust-lang/rust · GitHub

In the docs for the new FromResidual trait here:
https://doc.rust-lang.org/nightly/std/ops/trait.FromResidual.html

The trait is shown as:

pub trait FromResidual<R = Self::Residual> {
    fn from_residual(residual: R) -> Self;
}

which is not valid and will not compile, in the source it looks like this:

pub trait FromResidual<R = <Self as Try>::Residual> {
    fn from_residual(residual: R) -> Self;
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4