aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2018-06-21 22:57:55 +0200
committeracdenisSK <[email protected]>2018-06-21 22:57:55 +0200
commitf09b661be9085c7525a6c9f6929b50deebffae9b (patch)
tree7fac9ee15aa6dfcae1a9b607ca030ec66ed29fc1 /src/framework
parentMiscellaneous changes in Args (diff)
downloadserenity-f09b661be9085c7525a6c9f6929b50deebffae9b.tar.xz
serenity-f09b661be9085c7525a6c9f6929b50deebffae9b.zip
Add missing Send and Sync bounds
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/buckets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/buckets.rs b/src/framework/standard/buckets.rs
index 37a2de0..22bcc23 100644
--- a/src/framework/standard/buckets.rs
+++ b/src/framework/standard/buckets.rs
@@ -10,7 +10,7 @@ use std::{
type Check = Fn(&mut Context, Option<GuildId>, ChannelId, UserId) -> bool + Send + Sync + 'static;
#[cfg(not(feature = "cache"))]
-type Check = Fn(&mut Context, ChannelId, UserId) -> bool + 'static;
+type Check = Fn(&mut Context, ChannelId, UserId) -> bool + Send + Sync + 'static;
pub(crate) struct Ratelimit {
pub delay: i64,