remove needless lifetimes (clippy::needless_lifetimes)

This commit is contained in:
Daniel Eades 2023-12-10 16:39:18 +00:00
parent 550f6c8284
commit 87edb63202
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ impl Config {
}
// Start a transaction (to set multiple configs at the same time)
pub fn transaction<'a>(&'a self) -> ConfigTransaction<'a> {
pub fn transaction(&self) -> ConfigTransaction<'_> {
ConfigTransaction {
config: self,
updates: Mutex::new(Vec::new()),

View file

@ -20,6 +20,6 @@ pub mod steps;
pub mod util;
/// name of cosmic theme
pub const NAME: &'static str = "com.system76.CosmicTheme";
pub const NAME: &str = "com.system76.CosmicTheme";
pub use palette;