Skip to content

Commit 5874b4b

Browse files
[autofix.ci] apply automated fixes
1 parent eb200a1 commit 5874b4b

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

hydration_context/src/hydrate.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ use super::{SerializedDataId, SharedContext};
77
use crate::{PinnedFuture, PinnedStream};
88
use core::fmt::Debug;
99
use js_sys::Array;
10-
use std::sync::LazyLock;
1110
use std::{
1211
fmt::Display,
13-
sync::atomic::{AtomicBool, AtomicUsize, Ordering},
12+
sync::{
13+
atomic::{AtomicBool, AtomicUsize, Ordering},
14+
LazyLock,
15+
},
1416
};
1517
use throw_error::{Error, ErrorId};
1618
use wasm_bindgen::{prelude::wasm_bindgen, JsCast};

integrations/actix/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ use std::{
5050
future::Future,
5151
ops::{Deref, DerefMut},
5252
path::Path,
53-
sync::Arc,
54-
sync::LazyLock,
53+
sync::{Arc, LazyLock},
5554
};
5655

5756
/// This struct lets you define headers and override the status of the Response from an Element or a Server Function

server_fn/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ use std::{
168168
marker::PhantomData,
169169
ops::{Deref, DerefMut},
170170
pin::Pin,
171-
sync::Arc,
172-
sync::LazyLock,
171+
sync::{Arc, LazyLock},
173172
};
174173
#[doc(hidden)]
175174
pub use xxhash_rust;

tachys/src/renderer/dom.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ use crate::{
1010
};
1111
use linear_map::LinearMap;
1212
use rustc_hash::FxHashSet;
13-
use std::{any::TypeId, borrow::Cow, cell::LazyCell, cell::RefCell};
13+
use std::{
14+
any::TypeId,
15+
borrow::Cow,
16+
cell::{LazyCell, RefCell},
17+
};
1418
use wasm_bindgen::{intern, prelude::Closure, JsCast, JsValue};
1519
use web_sys::{AddEventListenerOptions, Comment, HtmlTemplateElement};
1620

0 commit comments

Comments
 (0)