Skip to content
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

Some cleanup in std::io::buffered #13092

Merged
merged 1 commit into from
Mar 23, 2014
Merged

Conversation

sfackler
Copy link
Member

Vec is now used for the internal buffer instead of ~[]. Some module
level documentation somehow ended up attached to BufferedReader so I
fixed that as well.

//!
//! It can be excessively inefficient to work directly with a `Reader` or
//! `Writer`. Every call to `read` or `write` on `TcpStream` results in a
//! system call, for example. This module provides structures that wrap
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "For example, ..." would be better here. I know it's not new :).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I also just remembered that buffered is a private module now so I'm splitting this paragraph up and moving it to the various structs.

`Vec` is now used for the internal buffer instead of `~[]`. Some module
level documentation somehow ended up attached to `BufferedReader` so I
fixed that as well.
@sfackler
Copy link
Member Author

@thestinger updated.

bors added a commit that referenced this pull request Mar 23, 2014
`Vec` is now used for the internal buffer instead of `~[]`. Some module
level documentation somehow ended up attached to `BufferedReader` so I
fixed that as well.
@bors bors closed this Mar 23, 2014
@bors bors merged commit 56cf09c into rust-lang:master Mar 23, 2014
@sfackler sfackler deleted the buffer-vec branch May 15, 2014 05:02
JohnTitor pushed a commit to JohnTitor/rust that referenced this pull request Aug 30, 2022
fix: Fix reference autocompletions using incorrect offsets in macro inputs

Fixes rust-lang/rust-analyzer#13035
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 20, 2025
…lang#13128)

changelog: [`use_self`] Skip if inside macro expansions of a `impl Self`
block
Fixes rust-lang#13092.
r? Alexendoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants