chore: apply clippy suggestions
This commit is contained in:
parent
34f55d6720
commit
a27bb5e05d
34 changed files with 116 additions and 146 deletions
|
|
@ -229,7 +229,7 @@ impl Config {
|
|||
|
||||
// Start a transaction (to set multiple configs at the same time)
|
||||
#[inline]
|
||||
pub fn transaction(&self) -> ConfigTransaction {
|
||||
pub fn transaction(&self) -> ConfigTransaction<'_> {
|
||||
ConfigTransaction {
|
||||
config: self,
|
||||
updates: Mutex::new(Vec::new()),
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ async fn start_listening<T: 'static + Send + Sync + PartialEq + Clone + CosmicCo
|
|||
}
|
||||
Err((errors, t)) => {
|
||||
let update = crate::Update {
|
||||
errors: errors,
|
||||
errors,
|
||||
keys: Vec::new(),
|
||||
config: t.clone(),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue