We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried this code:
pub fn split(&mut self) -> (ReadHalf<'_>, WriteHalf<'_>) { ... }
I expected to see this happen: the documentation to show the explicit elided lifetime
Instead, this happened: the lifetime disappeared (https://docs.rs/tokio/0.2.22/tokio/net/struct.TcpStream.html#method.split)
If anything, to go with Rust 2018 idioms it seems like rustdoc should be adding this explicit elided lifetime if it was left implicit.
rustc 1.47.0-nightly (8ad7bc3f4 2020-07-21) docsrs 0.6.0 (c9e59af 2020-07-19)
The text was updated successfully, but these errors were encountered:
@rustbot claim
Sorry, something went wrong.
255434d
nbdd0121
Successfully merging a pull request may close this issue.
I tried this code:
I expected to see this happen: the documentation to show the explicit elided lifetime
Instead, this happened: the lifetime disappeared (https://docs.rs/tokio/0.2.22/tokio/net/struct.TcpStream.html#method.split)
If anything, to go with Rust 2018 idioms it seems like rustdoc should be adding this explicit elided lifetime if it was left implicit.
Meta
The text was updated successfully, but these errors were encountered: