code: Reformat with Rust 2024 edition

This commit is contained in:
Sophie Herold 2025-12-04 06:14:49 +01:00
parent 2a8a13fd01
commit 4439499cda
15 changed files with 30 additions and 29 deletions

View file

@ -24,8 +24,8 @@ use std::time::Instant;
use anyhow::Context;
use gio::prelude::*;
use gio::subclass::prelude::*;
use glib::subclass::Signal;
use glib::GString;
use glib::subclass::Signal;
use indexmap::IndexMap;
use crate::deps::*;
@ -124,9 +124,11 @@ mod imp {
impl ObjectImpl for LpFileModel {
fn signals() -> &'static [Signal] {
static SIGNALS: LazyLock<Vec<Signal>> = LazyLock::new(|| {
vec![Signal::builder("changed")
.param_types([glib::Type::VARIANT])
.build()]
vec![
Signal::builder("changed")
.param_types([glib::Type::VARIANT])
.build(),
]
});
SIGNALS.as_ref()
}