We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 892abda commit c38187dCopy full SHA for c38187d
examples/rand.rs
@@ -58,7 +58,7 @@ fn main() -> ! {
58
info!("Random u8: {}", random_u8);
59
60
let random_array: [f32; 8] = rng.unwrap_err().random();
61
- info!("Random array {}", &random_array);
+ info!("Random array {:?}", &random_array);
62
63
let random_dist = between.sample(&mut rng.unwrap_err());
64
info!("Random dist: {}", random_dist);
@@ -67,7 +67,7 @@ fn main() -> ! {
67
info!("Random range: {}", random_range);
68
69
let random_choice = slice.choose(&mut rng.unwrap_err());
70
- info!("Random choice: {}", random_choice);
+ info!("Random choice: {:?}", random_choice);
71
72
let random_bernoulli = bernoulli.sample(&mut rng.unwrap_err());
73
info!("Random bernoulli: {}", random_bernoulli);
0 commit comments