-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
std: use stream_position
where applicable
#120900
std: use stream_position
where applicable
#120900
Conversation
rustbot has assigned @joshtriplett. Use r? to explicitly pick a reviewer |
/// <code>[seek]\([SeekFrom]::[Current]\(0))</code>), and restore it before the next read. | ||
/// <code>[Seek]::[stream_position]</code>), and restore it before the next read. |
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.
This was the motivating piece of documentation, but then I started applying to other places (where it was OK to do so).
This comment has been minimized.
This comment has been minimized.
@bors r+ rollup |
@bors r- |
r=me once CI passes. |
r? libs |
by replacing `seek(SeekFrom::Current(0))` calls
7a98498
to
af6840b
Compare
From triage - seems like this hasn't been set to review state |
@bors r=joshtriplett |
…llaumeGomez Rollup of 5 pull requests Successful merges: - rust-lang#120900 (std: use `stream_position` where applicable) - rust-lang#123373 (skip Codegen{GCC,Cranelift} when using CI rustc) - rust-lang#123618 (Discard overflow obligations in `impl_may_apply`) - rust-lang#123905 (rustdoc: check redundant explicit links with correct itemid) - rust-lang#123915 (improve documentation slightly regarding some pointer methods) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#120900 - marcospb19:std-use-seek-stream-position, r=joshtriplett std: use `stream_position` where applicable by replacing `seek(SeekFrom::Current(0))` calls
by replacing
seek(SeekFrom::Current(0))
calls