Skip to content

Commit

Permalink
Run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
matthunz committed Jun 18, 2024
1 parent e710cdc commit 860e80d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/dioxus-blitz/src/documents/dioxus_document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ impl DocumentLike for DioxusDocument {

false
}

}

impl DioxusDocument {
Expand Down
7 changes: 4 additions & 3 deletions packages/dioxus-blitz/src/waker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ pub fn tao_waker(proxy: &EventLoopProxy<UserEvent>, id: WindowId) -> std::task::

impl ArcWake for DomHandle {
fn wake_by_ref(arc_self: &Arc<Self>) {
_ = arc_self
.proxy
.send_event(UserEvent::Window { data: EventData::Poll, window_id: arc_self.id })
_ = arc_self.proxy.send_event(UserEvent::Window {
data: EventData::Poll,
window_id: arc_self.id,
})
}
}

Expand Down
3 changes: 1 addition & 2 deletions packages/dom/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ pub trait DocumentLike: AsRef<Document> + AsMut<Document> + Into<Document> + 'st
}
}

impl DocumentLike for Document {
}
impl DocumentLike for Document {}

pub struct Document {
/// A bump-backed tree
Expand Down

0 comments on commit 860e80d

Please sign in to comment.