Skip to content

Commit

Permalink
Removed unused attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw committed Jan 20, 2016
1 parent c0af000 commit 05394e5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,12 @@ impl PublicKey {

/// Library-internal representation of a Secp256k1 signature
#[repr(C)]
#[allow(raw_pointer_derive)]
pub struct Signature([c_uchar; 64]);
impl_array_newtype!(Signature, c_uchar, 64);
impl_raw_debug!(Signature);

/// Library-internal representation of a Secp256k1 signature + recovery ID
#[repr(C)]
#[allow(raw_pointer_derive)]
pub struct RecoverableSignature([c_uchar; 65]);
impl_array_newtype!(RecoverableSignature, c_uchar, 65);
impl_raw_debug!(RecoverableSignature);
Expand All @@ -95,7 +93,6 @@ impl RecoverableSignature {

/// Library-internal representation of an ECDH shared secret
#[repr(C)]
#[allow(raw_pointer_derive)]
pub struct SharedSecret([c_uchar; 32]);
impl_array_newtype!(SharedSecret, c_uchar, 32);
impl_raw_debug!(SharedSecret);
Expand Down

0 comments on commit 05394e5

Please sign in to comment.