nightly clippy
This commit is contained in:
parent
3eb412d7b2
commit
a7cd8b86d3
2 changed files with 1 additions and 2 deletions
|
@ -96,7 +96,6 @@ impl Song {
|
||||||
if thumbnail_loading.is_none() {
|
if thumbnail_loading.is_none() {
|
||||||
let id = self.id();
|
let id = self.id();
|
||||||
let song_weak = self.downgrade();
|
let song_weak = self.downgrade();
|
||||||
let scale_factor = scale_factor; // NOTE: assumed constant
|
|
||||||
*thumbnail_loading = Some(glib::spawn_future_local(async move {
|
*thumbnail_loading = Some(glib::spawn_future_local(async move {
|
||||||
let _permit = SEM.acquire().await.unwrap();
|
let _permit = SEM.acquire().await.unwrap();
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ impl SetProperty for String {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> SetProperty for &'a str {
|
impl SetProperty for &str {
|
||||||
unsafe fn set_property(
|
unsafe fn set_property(
|
||||||
self,
|
self,
|
||||||
ctx: *mut ffi::mpv_handle,
|
ctx: *mut ffi::mpv_handle,
|
||||||
|
|
Loading…
Reference in a new issue