Skip to content

Finalize the Seek API #12204

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

Merged
merged 1 commit into from
Feb 12, 2014
Merged

Finalize the Seek API #12204

merged 1 commit into from
Feb 12, 2014

Conversation

alexcrichton
Copy link
Member

This adopts the rules posted in #10432:

  1. If a seek position is negative, then an error is generated
  2. Seeks beyond the end-of-file are allowed. Future writes will fill the gap
    with data and future reads will return errors.
  3. Seeks within the bounds of a file are fine.

Closes #10432

This adopts the rules posted in rust-lang#10432:

1. If a seek position is negative, then an error is generated
2. Seeks beyond the end-of-file are allowed. Future writes will fill the gap
   with data and future reads will return errors.
3. Seeks within the bounds of a file are fine.

Closes rust-lang#10432
bors added a commit that referenced this pull request Feb 12, 2014
This adopts the rules posted in #10432:

1. If a seek position is negative, then an error is generated
2. Seeks beyond the end-of-file are allowed. Future writes will fill the gap
   with data and future reads will return errors.
3. Seeks within the bounds of a file are fine.

Closes #10432
@bors bors closed this Feb 12, 2014
@bors bors merged commit 1b6a1e9 into rust-lang:master Feb 12, 2014
@alexcrichton alexcrichton deleted the seek branch February 12, 2014 18:03
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 25, 2022
internal: Move keyword expressions to expr completions module
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.

Seek needs finalization of its API
3 participants