mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-15 22:37:28 +02:00
Actually print something in prime_squares example (#1271)
As suggested in #1268.
This commit is contained in:
parent
c74b2c8a04
commit
0e89050eb9
@ -9,6 +9,7 @@ fn main() {
|
|||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|prime| prime * prime)
|
.map(|prime| prime * prime)
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
println!("prime_squares: {prime_squares:?}");
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user