From 6111d249db503bdc9cff38884607d25361da9a58 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 12 Feb 2024 12:06:55 +0000 Subject: [PATCH] wat --- src/main.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main.rs b/src/main.rs index c35d7f7..092fc9f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,13 +1,10 @@ use educe::Educe; #[derive(Educe)] -#[educe(Hash)] -pub struct Inner(T); - -#[derive(Educe)] -#[educe(Hash)] -pub struct Outer(Inner); +#[educe(Clone)] +pub struct Outer(Option); fn main() { -// println!("{:?}", Enum::Variant1 { f: 1, v_formatter_: 2 }); + let a = Outer(Some(42)); + let _ = a.clone(); } -- 2.30.2