Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
KmolYuan committed Nov 17, 2023
1 parent ecca1ce commit 68a272a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion four-bar-ui/src/syn_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::borrow::Cow;

macro_rules! impl_method {
($(fn $method:ident, $sym:ident, $name:literal, $full_name:literal, $link:literal)+) => {
pub(crate) const LIST: &[(&'static str, &'static str, fn() -> Self)] =
pub(crate) const LIST: &'static [(&'static str, &'static str, fn() -> Self)] =
&[$(($full_name, $name, Self::$method),)+];

$(pub(crate) const fn $method() -> Self { Self::$sym(mh::$sym::new()) })+
Expand Down

0 comments on commit 68a272a

Please sign in to comment.