Skip to content

Commit

Permalink
Add missing Send and Sync bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Jun 21, 2018
1 parent cd4fd1e commit f09b661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/standard/buckets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f09b661

Please sign in to comment.