diff options
author | Yiyu Lin <linyiyu1992@gmail.com> | 2023-01-13 15:51:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 16:51:32 +0900 |
commit | a00e432297d2ae119c8e1097aec74badc886f912 (patch) | |
tree | 7380b37245e889e97a8c7b1535a1e31fddb74738 /ext/broadcast_channel/in_memory_broadcast_channel.rs | |
parent | 5707a958ac2b44d573d50260b1d0d40887662011 (diff) |
chore: add `copyright_checker` tool and add the missing copyright (#17285)
Diffstat (limited to 'ext/broadcast_channel/in_memory_broadcast_channel.rs')
-rw-r--r-- | ext/broadcast_channel/in_memory_broadcast_channel.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/broadcast_channel/in_memory_broadcast_channel.rs b/ext/broadcast_channel/in_memory_broadcast_channel.rs index 595a7cc13..7c9c68ae0 100644 --- a/ext/broadcast_channel/in_memory_broadcast_channel.rs +++ b/ext/broadcast_channel/in_memory_broadcast_channel.rs @@ -1,14 +1,16 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -use crate::BroadcastChannel; +use std::sync::Arc; + use async_trait::async_trait; use deno_core::error::AnyError; use deno_core::parking_lot::Mutex; -use std::sync::Arc; use tokio::sync::broadcast; use tokio::sync::mpsc; use uuid::Uuid; +use crate::BroadcastChannel; + #[derive(Clone)] pub struct InMemoryBroadcastChannel(Arc<Mutex<broadcast::Sender<Message>>>); |