From 0e89050eb98b6b1e2253754f2176b1d9e1f5f5df Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Thu, 28 Sep 2023 05:09:40 -0400 Subject: [PATCH] Actually print something in prime_squares example (#1271) As suggested in #1268. --- src/traits/from-iterator.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/traits/from-iterator.md b/src/traits/from-iterator.md index 4fa3ac9c..2eb89330 100644 --- a/src/traits/from-iterator.md +++ b/src/traits/from-iterator.md @@ -9,6 +9,7 @@ fn main() { .into_iter() .map(|prime| prime * prime) .collect::>(); + println!("prime_squares: {prime_squares:?}"); } ```