From 774e3252e8598c808b1f659880f63da9afa47e50 Mon Sep 17 00:00:00 2001 From: parrrate Date: Thu, 9 Apr 2026 12:56:17 +0000 Subject: [PATCH] stricten linked test --- src/exercises/linked.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/exercises/linked.md b/src/exercises/linked.md index 5c9962b..eea1787 100644 --- a/src/exercises/linked.md +++ b/src/exercises/linked.md @@ -59,7 +59,8 @@ let mut linked = Linked { linked.call(); { - let mut linked = linked.with("1"); + let s = "1".to_string(); + let mut linked = linked.with(&s); linked.with("2").call(); linked.with("3").call(); }