-
Notifications
You must be signed in to change notification settings - Fork 258
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
Update docs to 2021 edition, test #577
Conversation
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.
LTGTM. The reasons the docs to use edition 2015 is because we recently bumped our MSRV from 1.31 to 1.60 in 0.4.19 (#552).
src/lib.rs
Outdated
@@ -48,24 +48,24 @@ | |||
//! | |||
//! ### Examples | |||
//! | |||
//! ```edition2018 | |||
//! ```edition2021 |
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.
I think this can just be removed everywhere.
//! ```edition2021 | |
//! ``` |
@Thomasdezeeuw I think they should be removed after #580, or else they will continue using 2015 which i think is a bit confusing |
We can probably merge #580 first, and then circle back to this one. |
Now that #580 is merged, I updated this PR to remove the editions and also add the 580's forgotten changelog entry. This one should be far easier to review :) |
* Inline format arg in documentation and a few call places * Add a unit test for inlined format args I was surprised to discover that log crate has no edition value... Any reason to keep it at 2015?
@Thomasdezeeuw and @KodrAus a friendly ping. I just rebased it just to keep it current. Let me know if any changes are needed. Thx! |
I was surprised to discover that log crate has no edition value... Any reason to keep it at 2015?