Fix all clippy warnings

This commit is contained in:
Your Name
2023-02-23 19:32:54 -05:00
parent 5d9c8b4d0c
commit 847631d94e
5 changed files with 21 additions and 30 deletions

View File

@@ -79,7 +79,7 @@ impl SMSessionNotifier {
}),
session_notification: IAudioSessionNotification::from(SessionNotification {
observer: Box::new(SessionToMessage {
sender: sender.clone(),
sender
}),
}),
notification_function: callback,
@@ -99,7 +99,7 @@ impl SMSessionNotifier {
self.add_device(mmdevice)?;
}
println!("All devices initialized.");
return Ok(());
Ok(())
}
}