chore: Rust 2024 edition
Set the formatting style to 2021 edition to avoid disrupting existing work. Remove when possible.
This commit is contained in:
parent
35d781dc1e
commit
7f7ab8bcbe
19 changed files with 494 additions and 506 deletions
|
|
@ -26,7 +26,7 @@ pub fn set_all_surfaces_dpms_on(state: &mut State) {
|
|||
}
|
||||
|
||||
fn kms_surfaces(state: &mut State) -> impl Iterator<Item = &mut Surface> {
|
||||
if let BackendData::Kms(ref mut kms_state) = &mut state.backend {
|
||||
if let BackendData::Kms(kms_state) = &mut state.backend {
|
||||
Some(
|
||||
kms_state
|
||||
.drm_devices
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue