-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Various cleanup #21626
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
Various cleanup #21626
Conversation
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
/// The type of the iterator used by with_path. | ||
pub type PathElems<'a, 'b> = iter::Chain<Values<'a, PathElem>, LinkedPath<'b>>; | ||
pub type PathElems<'a, 'b> = iter::Chain<iter::Cloned<slice::Iter<'a, PathElem>>, LinkedPath<'b>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙀 This is amazing!
408a21a
to
d87ee7b
Compare
This caused a test failure on the rollup http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3333/steps/test/logs/stdio |
s.identifier.name == t.identifier.name && | ||
// FIXME #7743: ident -> name problems in lifetime comparison? | ||
// can types contain idents? | ||
s.parameters != t.parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I didn't notice the inverted condition here, should be ==
. Good thing we have tests.
You also have an unused |
This matches contemporary Rust style.
d87ee7b
to
cbd9dbe
Compare
cbd9dbe
to
7aa2735
Compare
Both fixed, sorry about that. |
@bors r+ 7aa2735 rollup |
No description provided.