1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-15 06:20:32 +02:00

Actually print something in prime_squares example (#1271)

As suggested in #1268.
This commit is contained in:
Dustin J. Mitchell 2023-09-28 05:09:40 -04:00 committed by GitHub
parent c74b2c8a04
commit 0e89050eb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ fn main() {
.into_iter()
.map(|prime| prime * prime)
.collect::<Vec<_>>();
println!("prime_squares: {prime_squares:?}");
}
```