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 #345

Merged
merged 2 commits into from
Mar 11, 2018
Merged

remove unused import #345

merged 2 commits into from
Mar 11, 2018

Conversation

rleungx
Copy link
Contributor

@rleungx rleungx commented Jan 31, 2018

It seems that AsciiExt is not used.

@hoodie
Copy link
Contributor

hoodie commented Jan 31, 2018

you are probably using rustc >= 1.23 which deprecated this module. For compatibility with previous versions of the compiler this should probably stay there. Though I'm not quite sure how the lib team suggests to handle this.

@rleungx
Copy link
Contributor Author

rleungx commented Jan 31, 2018

@hoodie You are right and maybe we can use #[allow(unused)] here.
rust-lang/rust#46510 mentioned this.

@ogham ogham merged commit 48cdf22 into ogham:master Mar 11, 2018
@ogham
Copy link
Owner

ogham commented Mar 11, 2018

Thanks for this! I did wonder why a warning suddenly appeared one day. I'm going to let rustc 1.23 be a little more widespread before removing the import entirely.

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