From be61b49f9a58c73b66e1c0c077bdaf39c6a50449 Mon Sep 17 00:00:00 2001 From: roneya Date: Tue, 12 Mar 2024 18:12:37 +0530 Subject: [PATCH] Signed-off-by: roneya --- en/src/smart-pointers/box.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/en/src/smart-pointers/box.md b/en/src/smart-pointers/box.md index c27bc64..d0928f2 100644 --- a/en/src/smart-pointers/box.md +++ b/en/src/smart-pointers/box.md @@ -38,4 +38,15 @@ fn main() { } ``` +4. 🌟 +```rust,editable + +// Make it work +fn main() { + // Create a box `b` with an array [1, 2, 3, 4, 5] + // Print each integer in `b` +} +``` + + > You can find the solutions [here](https://github.com/sunface/rust-by-practice)(under the solutions path), but only use it when you need it