summaryrefslogtreecommitdiff
path: root/exercises/19_smart_pointers
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-11 02:51:02 +0200
committermo8it <mo8it@proton.me>2024-04-11 02:51:02 +0200
commitfa1f239a702eb2c0b7e0115e986481156961bbc8 (patch)
tree08ac7c8638546f80ac650474dfe4126103a15e54 /exercises/19_smart_pointers
parent4bb6bda9f6416e30233342e73fc9a8486faa3f98 (diff)
Remove "I AM NOT DONE" and the verify mode and add AppState
Diffstat (limited to 'exercises/19_smart_pointers')
-rw-r--r--exercises/19_smart_pointers/arc1.rs2
-rw-r--r--exercises/19_smart_pointers/box1.rs2
-rw-r--r--exercises/19_smart_pointers/cow1.rs2
-rw-r--r--exercises/19_smart_pointers/rc1.rs2
4 files changed, 0 insertions, 8 deletions
diff --git a/exercises/19_smart_pointers/arc1.rs b/exercises/19_smart_pointers/arc1.rs
index 3526ddc..0647eea 100644
--- a/exercises/19_smart_pointers/arc1.rs
+++ b/exercises/19_smart_pointers/arc1.rs
@@ -21,8 +21,6 @@
//
// Execute `rustlings hint arc1` or use the `hint` watch subcommand for a hint.
-// I AM NOT DONE
-
#![forbid(unused_imports)] // Do not change this, (or the next) line.
use std::sync::Arc;
use std::thread;
diff --git a/exercises/19_smart_pointers/box1.rs b/exercises/19_smart_pointers/box1.rs
index 513e7da..2abc024 100644
--- a/exercises/19_smart_pointers/box1.rs
+++ b/exercises/19_smart_pointers/box1.rs
@@ -18,8 +18,6 @@
//
// Execute `rustlings hint box1` or use the `hint` watch subcommand for a hint.
-// I AM NOT DONE
-
#[derive(PartialEq, Debug)]
pub enum List {
Cons(i32, List),
diff --git a/exercises/19_smart_pointers/cow1.rs b/exercises/19_smart_pointers/cow1.rs
index fcd3e0b..b24591b 100644
--- a/exercises/19_smart_pointers/cow1.rs
+++ b/exercises/19_smart_pointers/cow1.rs
@@ -12,8 +12,6 @@
//
// Execute `rustlings hint cow1` or use the `hint` watch subcommand for a hint.
-// I AM NOT DONE
-
use std::borrow::Cow;
fn abs_all<'a, 'b>(input: &'a mut Cow<'b, [i32]>) -> &'a mut Cow<'b, [i32]> {
diff --git a/exercises/19_smart_pointers/rc1.rs b/exercises/19_smart_pointers/rc1.rs
index 1b90346..e96e625 100644
--- a/exercises/19_smart_pointers/rc1.rs
+++ b/exercises/19_smart_pointers/rc1.rs
@@ -10,8 +10,6 @@
//
// Execute `rustlings hint rc1` or use the `hint` watch subcommand for a hint.
-// I AM NOT DONE
-
use std::rc::Rc;
#[derive(Debug)]