Skip to content

Small changes for libextra containers #7790

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 3 commits into from
Jul 14, 2013
Merged

Small changes for libextra containers #7790

merged 3 commits into from
Jul 14, 2013

Conversation

bluss
Copy link
Member

@bluss bluss commented Jul 14, 2013

Implement size_hint for the ringbuf iterators.

Do small cleanups in dlist, use Option's .map and .map_mut properly, and put inline on all the small methods.

@bluss
Copy link
Member Author

bluss commented Jul 14, 2013

thanks

bors added a commit that referenced this pull request Jul 14, 2013
…thestinger

Implement size_hint for the ringbuf iterators.

Do small cleanups in dlist, use Option's .map and .map_mut properly, and put inline on all the small methods.
@bors bors closed this Jul 14, 2013
@bors bors merged commit 961184f into rust-lang:master Jul 14, 2013
@bluss bluss deleted the dlist-ringbuf-small-changes branch July 14, 2013 23:39
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 6, 2022
Add `disallowed_macros` lint

Closes rust-lang#7790
Fixes rust-lang#9558

`clippy_utils::def_path_res` already resolved macro definitions which is nice, it just needed a tweak to be able to disambiguate e.g. `std::vec` the module & `std::vec` the macro, and `serde::Serialize` the trait & `serde::Serialize` the derive macro

changelog: new lint: [`disallowed_macros`]
changelog: [`disallowed_methods`], [`disallowed_types`]: Fix false negative when a type/fn/macro share the same path
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.

2 participants