mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-14 14:10:05 +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()
|
||||
.map(|prime| prime * prime)
|
||||
.collect::<Vec<_>>();
|
||||
println!("prime_squares: {prime_squares:?}");
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user