-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Migrate to 2024 edition #8545
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
base: master
Are you sure you want to change the base?
Migrate to 2024 edition #8545
Conversation
(KeyBinding, $key:literal, $location:expr) => {{ BindingKey::Keycode { key: Key::Character($key.into()), location: $location } }}; | ||
(KeyBinding, $key:literal,) => {{ BindingKey::Keycode { key: Key::Character($key.into()), location: KeyLocation::Any } }}; | ||
(KeyBinding, $key:ident, $location:expr) => {{ BindingKey::Keycode { key: Key::Named(NamedKey::$key), location: $location } }}; | ||
(KeyBinding, $key:ident,) => {{ BindingKey::Keycode { key: Key::Named(NamedKey::$key), location: KeyLocation::Any } }}; | ||
(MouseBinding, $base:ident::$button:ident,) => {{ $base::$button }}; |
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.
This is the only change I've noticed which was odd to me. I'm still looking into rustfmt and why it does this.
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.
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.
ea91353
to
bdac750
Compare
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.
should update packaging about msrv.
Good point, I would also like to at least get a reply about the two rustfmt issues I've opened to see where that is going in the future. Will keep it around for now, I'm in no hurry to merge this and I don't foresee any major conflicts. |
It's only been two months and distros are likely going to take a while to pick up Rust 1.85.0, but since there's no release around the corner anyway I thought I'd just see what needs changing for 2024 edition.