Skip to content

Typestate preconditions in std::sha1 #2345

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

Closed
catamorphism opened this issue May 3, 2012 · 2 comments
Closed

Typestate preconditions in std::sha1 #2345

catamorphism opened this issue May 3, 2012 · 2 comments
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.

Comments

@catamorphism
Copy link
Contributor

std::sha1 has a number of FIXMEs about functions that should have typestate preconditions. Once we decide what our stance is on typestate in the standard libraries, either add them or delete the FIXMEs.

@nikomatsakis
Copy link
Contributor

Not relevant as of commit 41a21f0, which removed current incarnation of typestate.

@nikomatsakis
Copy link
Contributor

well, still relevant until the FIXMEs are removed.

@graydon graydon closed this as completed in 800de26 Aug 9, 2012
bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
tshepang added a commit to tshepang/rust that referenced this issue Apr 28, 2025
toolchain version does not need to be specified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.
Projects
None yet
Development

No branches or pull requests

3 participants