Skip to content

Commit

Permalink
fix: Prevent warnings for unused_imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kenoss committed Oct 6, 2024
1 parent 1633acc commit 137753a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/decl_macro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ pub(crate) fn define_macro_feed_trait_def_of(
}
}
}
// TODO: Write a test to check the necessity of the attribute if possible.
#[allow(unused_imports)]
pub(crate) use #feed_trait_def_of;
}
}
Expand All @@ -65,6 +67,8 @@ pub(crate) fn define_macro_feed_structenum_def_of(
}
}
}
// TODO: Write a test to check the necessity of the attribute if possible.
#[allow(unused_imports)]
pub(crate) use #feed_structenum_def_of;
}
}
Expand Down

0 comments on commit 137753a

Please sign in to comment.