From a35c5af772f6e0ea9d1ca6fda037aa36543fc3f9 Mon Sep 17 00:00:00 2001 From: morfal Date: Thu, 18 Jul 2024 11:53:26 +0200 Subject: [PATCH] task_1_2: Repeat no Unpin requirement in task --- 1_concepts/1_2_box_pin/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/1_concepts/1_2_box_pin/README.md b/1_concepts/1_2_box_pin/README.md index f00f0b8..7030d88 100644 --- a/1_concepts/1_2_box_pin/README.md +++ b/1_concepts/1_2_box_pin/README.md @@ -59,10 +59,9 @@ __Estimated time__: 1 day #### Important: ##### THERE HAS TO BE NO `unsafe` CODE (DON'T USE `unsafe`) > - `mut_me_somehow` must mutate self somehow. - > - You can add trait bounds to the types. + > - You can add trait bounds to the types. (using `Unpin` trait bound is not allowed) > - Write simple tests to demonstrate mut_me_somehow. > - you may use modules to avoid conflicting implementations - ```rust trait SayHi: fmt::Debug {