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

Issue 130 (#164)

* Core API: device_id

* Core API: u128
This commit is contained in:
Anton Voyl 2018-02-24 16:34:04 +01:00 committed by Paul Liétar
parent 685fb4e345
commit 58ea1baa98
4 changed files with 12 additions and 11 deletions

View file

@ -7,7 +7,7 @@ use std::ops::{Mul, Rem, Shr};
mod int128;
pub use util::int128::u128;
pub(crate) use util::int128::u128;
pub fn rand_vec<G: Rng, R: Rand>(rng: &mut G, size: usize) -> Vec<R> {
rng.gen_iter().take(size).collect()