Compare commits
2 Commits
ffcbd4ef2b
...
cc877f049b
Author | SHA1 | Date |
---|---|---|
Elfein Landers | cc877f049b | |
Elfein Landers | 0ce099b8d9 |
|
@ -1,5 +1,3 @@
|
||||||
#![feature(in_band_lifetimes)]
|
|
||||||
#![feature(async_closure)]
|
|
||||||
use serenity::client::Client;
|
use serenity::client::Client;
|
||||||
use serenity::framework::standard::StandardFramework;
|
use serenity::framework::standard::StandardFramework;
|
||||||
use serenity::futures::lock::Mutex;
|
use serenity::futures::lock::Mutex;
|
||||||
|
|
|
@ -29,6 +29,7 @@ impl TypeMapKey for InfoSent {
|
||||||
|
|
||||||
pub struct Sent;
|
pub struct Sent;
|
||||||
|
|
||||||
|
#[allow(clippy::type_complexity)]
|
||||||
impl TypeMapKey for Sent {
|
impl TypeMapKey for Sent {
|
||||||
type Value = Arc<Mutex<HashMap<(ChannelId, MessageId), (ChannelId, MessageId)>>>;
|
type Value = Arc<Mutex<HashMap<(ChannelId, MessageId), (ChannelId, MessageId)>>>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue