Skip to content

Commit

Permalink
Documentation bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dirvine committed Apr 5, 2015
1 parent f089765 commit ab300ba
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/id/maid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use traits::RoutingTrait;
/// let (pub_asym_key, sec_asym_key) = sodiumoxide::crypto::asymmetricbox::gen_keypair();
///
/// // Creating new Maid
/// let maid = maidsafe_types::Maid::new((pub_sign_key, pub_asym_key),
/// let maid = maidsafe_types::id::maid::Maid::new((pub_sign_key, pub_asym_key),
/// (sec_sign_key, sec_asym_key),
/// maidsafe_types::NameType([6u8; 64]));
///
Expand Down
16 changes: 8 additions & 8 deletions src/id/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
See the Licences for the specific language governing permissions and limitations relating to
use of the MaidSafe Software. */
mod an_maid;
mod an_mpid;
mod maid;
mod mpid;
mod public_maid;
mod public_mpid;
mod public_an_maid;
pub mod an_maid;
pub mod an_mpid;
pub mod maid;
pub mod mpid;
pub mod public_maid;
pub mod public_mpid;
pub mod public_an_maid;

pub use self::an_maid::*;
pub use self::an_mpid::*;
pub use self::maid::*;
pub use self::mpid::*;
pub use self::public_maid::*;
pub use self::public_mpid::*;
pub use self::public_an_maid::*;
pub use self::public_an_maid::*;
2 changes: 1 addition & 1 deletion src/id/mpid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use traits::RoutingTrait;
/// let (pub_asym_key, sec_asym_key) = sodiumoxide::crypto::asymmetricbox::gen_keypair();
///
/// // Creating new Mpid
/// let mpid = maidsafe_types::Mpid::new((pub_sign_key, pub_asym_key),
/// let mpid = maidsafe_types::id::mpid::Mpid::new((pub_sign_key, pub_asym_key),
/// (sec_sign_key, sec_asym_key),
/// maidsafe_types::NameType([6u8; 64]));
///
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ extern crate rustc_serialize;
extern crate sodiumoxide;
extern crate cbor;

mod id;
mod common;
mod data;
pub mod id;
pub mod common;
pub mod data;

pub mod traits;
pub mod helper;
Expand Down

0 comments on commit ab300ba

Please sign in to comment.