mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-30 17:34:54 +00:00
e9677105bf
There are two different implementation of Try trait for Poll type; Poll<Result<T, E>> and Poll<Option<Result<T, E>>>. Take them into account when generating suggestions. For example, for Err(e)? suggest either return Poll::Ready(Err(e)) or return Poll::Ready(Some(Err(e))) as appropriate. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |