mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00
Fix compiler error when objc2
is in dependency tree (#1503)
This commit is contained in:
parent
3686718ea2
commit
2c425ebd06
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ impl<T> ShuffleVec<T> {
|
||||||
self.unshuffle()
|
self.unshuffle()
|
||||||
}
|
}
|
||||||
|
|
||||||
let indices = {
|
let indices: Vec<_> = {
|
||||||
(1..self.vec.len())
|
(1..self.vec.len())
|
||||||
.rev()
|
.rev()
|
||||||
.map(|i| rng.gen_range(0..i + 1))
|
.map(|i| rng.gen_range(0..i + 1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue