Skip to content

Commit

Permalink
add #[doc(hidden)] to Factory impl block to silence missing_safety_do…
Browse files Browse the repository at this point in the history
…c clippy warning
  • Loading branch information
micahrj committed Mar 28, 2024
1 parent faef95a commit 829fa75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/format/clap/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub struct Factory<P> {

unsafe impl<P> Sync for Factory<P> {}

#[doc(hidden)]
impl<P: Plugin + ClapPlugin> Factory<P> {
pub const fn new() -> Self {
Factory {
Expand Down

0 comments on commit 829fa75

Please sign in to comment.