Sha256: d5eb38d8a6d8f66fdf1c40293abbf58f3ac42b5acfc5dca62b02c7ace5bfc1a4
Contents?: true
Size: 353 Bytes
Versions: 38
Compression:
Stored size: 353 Bytes
Contents
#![type_length_limit = "10000"] use rayon::prelude::*; #[test] fn type_length_limit() { let input = vec![1, 2, 3, 4, 5]; let (indexes, (squares, cubes)): (Vec<_>, (Vec<_>, Vec<_>)) = input .par_iter() .map(|x| (x * x, x * x * x)) .enumerate() .unzip(); drop(indexes); drop(squares); drop(cubes); }
Version data entries
38 entries across 38 versions & 1 rubygems