Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Apr 28, 2024
1 parent 71625fa commit 79c45ad
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 43 deletions.
4 changes: 2 additions & 2 deletions packages/codegen/src/create_icon_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ pub fn create_icon_file(svg_path: &str, output_path: &str, icon_prefix: &str) {
"{}\n\n{}",
"use super::super::IconShape;\nuse dioxus::prelude::*;", icon_file
)
.as_bytes(),
.as_bytes(),
)
.unwrap();
.unwrap();
file.flush().unwrap();
}

Expand Down
10 changes: 5 additions & 5 deletions packages/lib/src/icons/io_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13631,26 +13631,26 @@ impl IconShape for IoColorWand {
}
path {
d: "M124.1,140.1c-4.2,0-8.3-1.7-11.3-4.7l-33.9-33.9c-6.2-6.2-6.2-16.4,0-22.6s16.4-6.2,22.6,0l33.9,33.9
c6.3,6.2,6.3,16.4,0,22.6C132.4,138.4,128.4,140.1,124.1,140.1z",
c6.3,6.2,6.3,16.4,0,22.6C132.4,138.4,128.4,140.1,124.1,140.1z",
}
path {
d: "M192,112c-8.8,0-16-7.2-16-16V48c0-8.8,7.2-16,16-16s16,7.2,16,16v48C208,104.8,200.8,112,192,112z",
}
path {
d: "M259.9,140.1c-8.8,0-16-7.2-16-16c0-4.2,1.7-8.3,4.7-11.3l33.9-33.9c6.2-6.2,16.4-6.2,22.6,0c6.2,6.2,6.2,16.4,0,22.6
l-33.9,33.9C268.2,138.4,264.1,140.1,259.9,140.1z",
l-33.9,33.9C268.2,138.4,264.1,140.1,259.9,140.1z",
}
path {
d: "M90.2,309.8c-8.8,0-16-7.2-16-16c0-4.2,1.7-8.3,4.7-11.3l33.9-33.9c6.2-6.2,16.4-6.2,22.6,0s6.2,16.4,0,22.6l-33.9,33.9
C98.5,308.1,94.4,309.8,90.2,309.8z",
C98.5,308.1,94.4,309.8,90.2,309.8z",
}
path {
d: "M234.2,167c-18.4-18.7-48.5-19-67.2-0.7s-19,48.5-0.7,67.2c0.2,0.2,0.5,0.5,0.7,0.7l39.5,39.5c3.1,3.1,8.2,3.1,11.3,0
l55.9-55.9c3.1-3.1,3.1-8.2,0-11.3L234.2,167z",
l55.9-55.9c3.1-3.1,3.1-8.2,0-11.3L234.2,167z",
}
path {
d: "M457,389.8L307.6,240.4c-3.1-3.1-8.2-3.1-11.3,0l-55.9,55.9c-3.1,3.1-3.1,8.2,0,11.3L389.8,457c18.4,18.7,48.5,19,67.2,0.7
c18.7-18.4,19-48.5,0.7-67.2C457.5,390.3,457.3,390,457,389.8L457,389.8z",
c18.7-18.4,19-48.5,0.7-67.2C457.5,390.3,457.3,390,457,389.8L457,389.8z",
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions packages/lib/src/icons/md_communication_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2329,9 +2329,7 @@ impl IconShape for MdUnsubscribe {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down
12 changes: 3 additions & 9 deletions packages/lib/src/icons/md_content_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,7 @@ impl IconShape for MdBolt {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down Expand Up @@ -1742,9 +1740,7 @@ impl IconShape for MdTag {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down Expand Up @@ -1848,9 +1844,7 @@ impl IconShape for MdWaves {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down
8 changes: 2 additions & 6 deletions packages/lib/src/icons/md_hardware_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -925,9 +925,7 @@ impl IconShape for MdMonitor {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down Expand Up @@ -1390,9 +1388,7 @@ impl IconShape for MdTabletMac {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down
4 changes: 1 addition & 3 deletions packages/lib/src/icons/md_image_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3406,9 +3406,7 @@ impl IconShape for MdHdrOff {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down
4 changes: 1 addition & 3 deletions packages/lib/src/icons/md_notification_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ impl IconShape for MdAddCall {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down
8 changes: 2 additions & 6 deletions packages/lib/src/icons/md_places_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1044,9 +1044,7 @@ impl IconShape for MdMeetingRoom {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down Expand Up @@ -1258,9 +1256,7 @@ impl IconShape for MdNoMeetingRoom {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down
4 changes: 1 addition & 3 deletions packages/lib/src/icons/md_social_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1165,9 +1165,7 @@ impl IconShape for MdNotifications {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down
4 changes: 1 addition & 3 deletions packages/lib/src/icons/md_toggle_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ impl IconShape for MdStarOutline {
"miter"
}
fn child_elements(&self) -> Element {
rsx! {

}
rsx! {}
}
}

Expand Down

0 comments on commit 79c45ad

Please sign in to comment.