Skip to content

Commit

Permalink
Apply cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
PoignardAzur committed Mar 1, 2025
1 parent 7ea2c45 commit fdf3c35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions xilem/examples/calc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ use winit::dpi::LogicalSize;
use winit::error::EventLoopError;
use winit::window::Window;
use xilem::view::{
button, flex, grid, label, sized_box, Axis, Flex, FlexSequence, FlexSpacer, GridExt,
GridSequence, Label,
Axis, Flex, FlexSequence, FlexSpacer, GridExt, GridSequence, Label, button, flex, grid, label,
sized_box,
};
use xilem::{palette, EventLoop, EventLoopBuilder, WidgetView, Xilem};
use xilem::{EventLoop, EventLoopBuilder, WidgetView, Xilem, palette};

#[derive(Copy, Clone)]
enum MathOperator {
Expand Down
2 changes: 1 addition & 1 deletion xilem/examples/widgets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use masonry::dpi::LogicalSize;
use winit::error::EventLoopError;
use winit::window::Window;
use xilem::core::adapt;
use xilem::view::{button, checkbox, flex, flex_item, progress_bar, sized_box, Axis, FlexSpacer};
use xilem::view::{Axis, FlexSpacer, button, checkbox, flex, flex_item, progress_bar, sized_box};
use xilem::{Color, WidgetView, Xilem};

const SPACER_WIDTH: f64 = 10.;
Expand Down

0 comments on commit fdf3c35

Please sign in to comment.