From 7ecc8c091658701a18851bd9cd953bdc7ee237eb Mon Sep 17 00:00:00 2001 From: parrrate Date: Thu, 9 Apr 2026 12:56:17 +0000 Subject: [PATCH] A1/A2 templates --- src/exercises/multiple_blanket.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/exercises/multiple_blanket.md b/src/exercises/multiple_blanket.md index fb8b36b..2c0f475 100644 --- a/src/exercises/multiple_blanket.md +++ b/src/exercises/multiple_blanket.md @@ -176,3 +176,21 @@ version.workspace = true edition.workspace = true publish.workspace = true ``` + +Basic definitions for `A1`/`A2` (this won't work — you need to alter it) + +```rs +trait A1 { + fn a1_ref(&self) -> u64; + fn a1_mut(&mut self) -> bool; + fn a1_move(self) -> Self; +} +``` + +```rs +trait A2 { + fn a2_ref(&self) -> u64; + fn a2_mut(&mut self) -> bool; + fn a2_move(self) -> Self; +} +```