Skip to content

Documentation examples for LruCache. #15941

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 2 commits into from
Jul 27, 2014
Merged

Documentation examples for LruCache. #15941

merged 2 commits into from
Jul 27, 2014

Conversation

treeman
Copy link
Contributor

@treeman treeman commented Jul 24, 2014

No description provided.

///
/// ```
/// use std::collections::LruCache;
/// let mut cache: LruCache<int, &str> = LruCache::new(10u);
Copy link
Member

Choose a reason for hiding this comment

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

Is the u suffix required?

@treeman
Copy link
Contributor Author

treeman commented Jul 26, 2014

@alexcrichton it appears this is still marked as "discussing" in the bors queue, not sure if it's an error?

@bors bors closed this Jul 27, 2014
@bors bors merged commit 6bbe92e into rust-lang:master Jul 27, 2014
@treeman treeman deleted the doc-lru branch September 17, 2014 13:12
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