Skip to content
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

Remove unused import. #20976

Merged
merged 1 commit into from
Jan 16, 2015
Merged

Remove unused import. #20976

merged 1 commit into from
Jan 16, 2015

Conversation

jbcrail
Copy link
Contributor

@jbcrail jbcrail commented Jan 12, 2015

The BorrowFrom trait was unused by the tests.

@rust-highfive
Copy link
Collaborator

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@Gankra
Copy link
Contributor

Gankra commented Jan 12, 2015

Was this giving a compilation warning and-or have you tested that this doesn't break anything? (worried about spooky trait import action at-a-distance)

@jbcrail
Copy link
Contributor Author

jbcrail commented Jan 12, 2015

I saw a compilation warning when I did a full rebuild on libcollections, including tests and benchmarks. It looks like the unused import is only defined in the tests so I'm not sure there would be an impact elsewhere. But I'm a novice with the module system so I could be wrong.

@Gankra
Copy link
Contributor

Gankra commented Jan 12, 2015

If the compiler said it was unused, I'm liable to trust it.

bors added a commit that referenced this pull request Jan 14, 2015
Remove unused import.

Reviewed-by: Gankro
bors added a commit that referenced this pull request Jan 14, 2015
Remove unused import.

Reviewed-by: Gankro
bors added a commit that referenced this pull request Jan 15, 2015
Remove unused import.

Reviewed-by: Gankro
bors added a commit that referenced this pull request Jan 15, 2015
Remove unused import.

Reviewed-by: Gankro
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 15, 2015
The BorrowFrom trait was unused by the tests.
@bors bors merged commit 415fc5f into rust-lang:master Jan 16, 2015
@jbcrail jbcrail deleted the rm-unused-import branch January 16, 2015 06:08
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