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

Transition to 2018 edition #933

Merged
merged 3 commits into from
May 25, 2019
Merged

Conversation

tesuji
Copy link
Contributor

@tesuji tesuji commented May 24, 2019

We were unaware that mdBook isn't in 2018 edition before.

@tesuji tesuji force-pushed the update-edition branch 2 times, most recently from df3159f to 995e4df Compare May 24, 2019 16:47
extern crate memchr;
extern crate pulldown_cmark;
extern crate regex;
extern crate serde;
#[macro_use]
extern crate serde_derive;

Choose a reason for hiding this comment

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

you can use macro imports and get rid of extern crates for these as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. But I think we should land it as is. Because we already transit
new edition. Also because I don't want to deal with missing macro importing
somewhere while trying to get rid of those extern crate.

Choose a reason for hiding this comment

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

cool no issues

@Dylan-DPC-zz Dylan-DPC-zz merged commit 8542f7f into rust-lang:master May 25, 2019
@tesuji tesuji deleted the update-edition branch May 26, 2019 11:55
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
* Transition to 2018 edition

* Update Travis CI badge in README

* Remove non-idiomatic `extern crate` lines
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