We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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::io::stdin()
std::io::Stdin
rand::random()
rand::ThreadRng
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Static-analysis friendly scoped APIs
What's the common API pattern
Failure modes
Dynamic APIs still with dependency
On process-level resources:
std::io::stdin()
andstd::io::Stdin
:On thread-level resources:
rand::random()
andrand::ThreadRng
:Reference counting and interior mutability
More approaches?
How to share code as much as possible if your crate wants to support both or more.
The text was updated successfully, but these errors were encountered: