Fix all clippy warnings
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user