-
Notifications
You must be signed in to change notification settings - Fork 13.3k
fix doc for UnixStream #140984
New issue
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
fix doc for UnixStream #140984
Conversation
r? @ibraheemdev rustbot has assigned @ibraheemdev. Use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a UnixStream method doc, it should indeed use a UnixStream.
Thanks. @bors r+ rollup |
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#140791 (std: explain prefer `TryInto` over `TryFrom` when specifying traits bounds on generic function) - rust-lang#140834 (move (or remove) some impl Trait tests) - rust-lang#140910 (Remove `stable` attribute from wasi fs (read_exact|write_all)_at) - rust-lang#140984 (fix doc for UnixStream) - rust-lang#140997 (Add negative test coverage for `-Clink-self-contained` and `-Zlinker-features`) - rust-lang#141003 (Improve ternary operator recovery) - rust-lang#141009 (Migrate to modern datetime API) - rust-lang#141013 (Implement methods to set STARTUPINFO flags for Command API on Windows) - rust-lang#141026 (rustc-dev-guide subtree update) r? `@ghost` `@rustbot` modify labels: rollup
fix doc for UnixStream Doc example was using `UdpSocket` instead of `UnixStream`.
Rollup merge of rust-lang#140984 - mlowicki:patch-2, r=ibraheemdev fix doc for UnixStream Doc example was using `UdpSocket` instead of `UnixStream`.
Doc example was using
UdpSocket
instead ofUnixStream
.