Skip to content

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

Merged
merged 4 commits into from
Jan 29, 2015
Merged

Various cleanup #21626

merged 4 commits into from
Jan 29, 2015

Conversation

Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Jan 25, 2015

No description provided.

@rust-highfive
Copy link
Contributor

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>>;
Copy link
Member

Choose a reason for hiding this comment

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

🙀 This is amazing!

@eddyb
Copy link
Member

eddyb commented Jan 26, 2015

@bors r+ d87ee7b rollup

barosl added a commit to barosl/rust that referenced this pull request Jan 27, 2015
@Manishearth
Copy link
Member

s.identifier.name == t.identifier.name &&
// FIXME #7743: ident -> name problems in lifetime comparison?
// can types contain idents?
s.parameters != t.parameters
Copy link
Member

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.

@Manishearth
Copy link
Member

You also have an unused ast_map import in src/librustc_trans/back/link.rs`

@Ms2ger
Copy link
Contributor Author

Ms2ger commented Jan 28, 2015

Both fixed, sorry about that.

@eddyb
Copy link
Member

eddyb commented Jan 28, 2015

@bors r+ 7aa2735 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Jan 28, 2015
@bors bors merged commit 7aa2735 into rust-lang:master Jan 29, 2015
@Ms2ger Ms2ger deleted the various-cleanup branch March 12, 2015 10:26
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.

5 participants