Skip to content

Commit

Permalink
Fixed {horizontal,vertical}_wrap! using wrong path
Browse files Browse the repository at this point in the history
  • Loading branch information
bbb651 committed Aug 14, 2023
1 parent 62c104d commit 56e1938
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/native/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ macro_rules! grid {
#[macro_export]
macro_rules! wrap_horizontal {
() => (
$crate::wrap::new()
$crate::Wrap::new()
);
($($x:expr),+ $(,)?) => (
$crate::Grid::with_elements(vec![$($crate::Element::from($x)),+])
$crate::Wrap::with_elements(vec![$($crate::Element::from($x)),+])
);
}

Expand All @@ -42,10 +42,10 @@ macro_rules! wrap_horizontal {
#[macro_export]
macro_rules! wrap_vertical {
() => (
$crate::wrap::new_vertical()
$crate::Wrap::new_vertical()
);
($($x:expr),+ $(,)?) => (
$crate::wrap::with_elements_vertical(vec![$($crate::Element::from($x)),+])
$crate::Wrap::with_elements_vertical(vec![$($crate::Element::from($x)),+])
);
}

Expand Down

0 comments on commit 56e1938

Please sign in to comment.