Skip to content

Commit 2c425eb

Browse files
authored
Fix compiler error when objc2 is in dependency tree (#1503)
1 parent 3686718 commit 2c425eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

connect/src/shuffle_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl<T> ShuffleVec<T> {
5555
self.unshuffle()
5656
}
5757

58-
let indices = {
58+
let indices: Vec<_> = {
5959
(1..self.vec.len())
6060
.rev()
6161
.map(|i| rng.gen_range(0..i + 1))

0 commit comments

Comments
 (0)