From 4c984595e51fd746f68bea5339c771f70bff3a8d Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 2 Jul 2018 06:54:59 +0100 Subject: [PATCH] Add full paths for some manually-implemented derives This further reduces the difference between pairing's manual and derived implementations. --- ff_derive/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ff_derive/src/lib.rs b/ff_derive/src/lib.rs index e792cd8..45d3445 100644 --- a/ff_derive/src/lib.rs +++ b/ff_derive/src/lib.rs @@ -795,21 +795,21 @@ fn prime_field_impl( let top_limb_index = limbs - 1; quote!{ - impl Copy for #name { } + impl ::std::marker::Copy for #name { } - impl Clone for #name { + impl ::std::clone::Clone for #name { fn clone(&self) -> #name { *self } } - impl PartialEq for #name { + impl ::std::cmp::PartialEq for #name { fn eq(&self, other: &#name) -> bool { self.0 == other.0 } } - impl Eq for #name { } + impl ::std::cmp::Eq for #name { } impl ::std::fmt::Debug for #name {