Skip to content

Commit 8fb725e

Browse files
authored
chore(clippy): fix redundant import (#414)
1 parent 6cc2572 commit 8fb725e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

crates/parser-common/src/value/ser.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ impl<'a, S: ser::Serializer> serde::Serializer for Serializer<'a, S> {
318318
}
319319

320320
fn serialize_bytes(self, v: &[u8]) -> Result<Self::Ok, Self::Error> {
321-
use serde::ser::SerializeMap;
322321
let num = {
323322
// SAFETY: the binary_payloads are only accessed in the context of the current serialization
324323
// in a sequential manner. The only mutation place is here, hence it remains safe.

crates/socketioxide-core/src/adapter.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ impl<E: SocketEmitter> CoreLocalAdapter<E> {
392392
packet: Packet,
393393
opts: BroadcastOptions,
394394
) -> Result<(), Vec<SocketError>> {
395-
use crate::parser::Parse;
396395
let room_map = self.rooms.read().unwrap();
397396
let sids = self.apply_opts(&opts, &room_map);
398397

0 commit comments

Comments
 (0)