summaryrefslogtreecommitdiff
path: root/ext/flash/socket.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flash/socket.rs')
-rw-r--r--ext/flash/socket.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/ext/flash/socket.rs b/ext/flash/socket.rs
index 8256be8a0..77881d536 100644
--- a/ext/flash/socket.rs
+++ b/ext/flash/socket.rs
@@ -1,12 +1,13 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
+use std::cell::UnsafeCell;
+use std::future::Future;
+use std::io::{Read, Write};
+use std::pin::Pin;
+use std::sync::{Arc, Mutex};
+
use deno_core::error::AnyError;
use mio::net::TcpStream;
-use std::{
- cell::UnsafeCell,
- future::Future,
- io::{Read, Write},
- pin::Pin,
- sync::{Arc, Mutex},
-};
use tokio::sync::mpsc;
use crate::ParseStatus;