From: Ian Jackson Date: Sun, 1 Nov 2020 23:24:26 +0000 (+0000) Subject: wip errors from introducing accounts X-Git-Tag: otter-0.2.0~563 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=784da362fc78320adec763b8e86b140dde3cafaa;p=otter.git wip errors from introducing accounts Signed-off-by: Ian Jackson --- 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 {