Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kokoISnoTarget committed Sep 10, 2024
1 parent 328194a commit 9f2db68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dom/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,8 @@ impl Document {
}
Resource::Image(node_id, image) => {
let node = self.get_node_mut(node_id).unwrap();
node.element_data_mut().unwrap().node_specific_data = NodeSpecificData::Image(ImageData::new(image))
node.element_data_mut().unwrap().node_specific_data =
NodeSpecificData::Image(ImageData::new(image))
}
Resource::Svg(node_id, tree) => {
let node = self.get_node_mut(node_id).unwrap();
Expand Down

0 comments on commit 9f2db68

Please sign in to comment.