remove needless lifetimes (clippy::needless_lifetimes)
This commit is contained in:
parent
550f6c8284
commit
87edb63202
2 changed files with 2 additions and 2 deletions
|
|
@ -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()),
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue