From 784da362fc78320adec763b8e86b140dde3cafaa Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 Nov 2020 23:24:26 +0000 Subject: [PATCH] wip errors from introducing accounts Signed-off-by: Ian Jackson --- src/cmdlistener.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cmdlistener.rs b/src/cmdlistener.rs index 36866f59..3bf2790a 100644 --- a/src/cmdlistener.rs +++ b/src/cmdlistener.rs @@ -1010,9 +1010,7 @@ mod authproofs { #[derive(Debug)] pub struct Authorisation (PhantomData<*const A>); - impl Clone for Authorisation { fn clone(&self) -> Self { - Self(PhantomData) - } } + impl Clone for Authorisation { fn clone(&self) -> Self { *self } } impl Copy for Authorisation { } impl Authorisation { -- 2.30.2