Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

Remove redundant "namespacing" from type names #112

Merged
merged 1 commit into from
Oct 7, 2018

Commits on Oct 7, 2018

  1. Remove redundant "namespacing" from type names

    * `Ed25519PublicKey` => `ed25519::PublicKey`
    * `Ed25519Signature` => `ed25519::Signature`
    * `EcdsaPublicKey` => `ecdsa::PublicKey`
    * `EcdsaSignature` => `ecdsa::Signature`
    
    These names were prefixed with the signature type previously to avoid
    clashes with traits of the same name (i.e. `signatory::PublicKey` and
    `signatory::Signature`) however the namespace clash can also be avoided
    by using the `ed25519` and `ecdsa` module names.
    
    This is considered a Rust best practice:
    
    rust-lang/rfcs#356
    tony-iqlusion committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    35fd4ea View commit details
    Browse the repository at this point in the history