1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00

Fix compiler error when objc2 is in dependency tree (#1503)

This commit is contained in:
Mads Marquart 2025-06-09 12:34:54 +02:00 committed by GitHub
parent 3686718ea2
commit 2c425ebd06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@ impl<T> ShuffleVec<T> {
self.unshuffle()
}
let indices = {
let indices: Vec<_> = {
(1..self.vec.len())
.rev()
.map(|i| rng.gen_range(0..i + 1))