Skip to content

Commit

Permalink
Re-export parking_lot::{Arc, Mutex} from prelude
Browse files Browse the repository at this point in the history
These two types are used in public APIs, and so by re-exporting them it
makes it easier for the user to use them without needing to depend on
`parking_lot` themselves.
  • Loading branch information
Zeyla Hellyer committed Oct 19, 2017
1 parent f47a0c8 commit 74ec713
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

pub use error::Error as SerenityError;
pub use model::Mentionable;
pub use parking_lot::{Mutex, RwLock};

#[cfg(feature = "client")]
pub use client::{Client, ClientError as ClientError, Context, EventHandler};
Expand Down

0 comments on commit 74ec713

Please sign in to comment.