Skip to content

Commit 44a60e2

Browse files
MartinKavikDavid-OConnor
authored andcommitted
fix(lint): format
1 parent fed2b47 commit 44a60e2

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

examples/server_integration/Cargo.lock

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/vdom.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,7 @@ impl<Ms, Mdl, ElC: View<Ms> + 'static, GMs: 'static> App<Ms, Mdl, ElC, GMs> {
228228
/// an initial render.
229229
pub fn run(self) -> Self {
230230
// Bootstrap the virtual DOM.
231-
self.data
232-
.main_el_vdom
233-
.replace(Some(self.bootstrap_vdom()));
231+
self.data.main_el_vdom.replace(Some(self.bootstrap_vdom()));
234232

235233
// Update the state on page load, based
236234
// on the starting URL. Must be set up on the server as well.

0 commit comments

Comments
 (0)