aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-10-16 06:38:15 -0700
committerZeyla Hellyer <[email protected]>2017-10-19 15:42:10 -0700
commit74ec713825b2b4c55382fb76fa57bd967e66b3aa (patch)
treecefc87d25bcaa89b6c86ec802b72076ffa78f87d /src
parentImplement changing a role's position (#201) (diff)
downloadserenity-74ec713825b2b4c55382fb76fa57bd967e66b3aa.tar.xz
serenity-74ec713825b2b4c55382fb76fa57bd967e66b3aa.zip
Re-export parking_lot::{Arc, Mutex} from prelude
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.
Diffstat (limited to 'src')
-rw-r--r--src/prelude.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prelude.rs b/src/prelude.rs
index ff27bb6..435fb8a 100644
--- a/src/prelude.rs
+++ b/src/prelude.rs
@@ -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};