chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cd6c37
)
wip errors from introducing accounts
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 Nov 2020 23:24:26 +0000
(23:24 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 Nov 2020 23:24:26 +0000
(23:24 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/cmdlistener.rs
patch
|
blob
|
history
diff --git
a/src/cmdlistener.rs
b/src/cmdlistener.rs
index 36866f5997d5d0928ad45f50c3725ccc21d7a13b..3bf2790a0a951cc9277245afab341baddf7b9bd3 100644
(file)
--- a/
src/cmdlistener.rs
+++ b/
src/cmdlistener.rs
@@
-1010,9
+1010,7
@@
mod authproofs {
#[derive(Debug)]
pub struct Authorisation<A> (PhantomData<*const A>);
- impl<A> Clone for Authorisation<A> { fn clone(&self) -> Self {
- Self(PhantomData)
- } }
+ impl<A> Clone for Authorisation<A> { fn clone(&self) -> Self { *self } }
impl<A> Copy for Authorisation<A> { }
impl<T> Authorisation<T> {