Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangpengHao committed May 8, 2024
1 parent 6d9760b commit c168553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ where

/// Display the internal node statistics
#[cfg(feature = "stats")]
#[cfg_attr(doc_cfg, doc(cfg(feature = "stats")))]
#[cfg_attr(docsrs, doc(cfg(feature = "stats")))]
pub fn stats(&self) -> stats::NodeStats {
self.inner.stats()
}
Expand Down Expand Up @@ -324,7 +324,7 @@ where
/// assert_eq!(new_v, 43);
/// ```
#[cfg(feature = "db_extension")]
#[cfg_attr(doc_cfg, doc(cfg(feature = "db_extension")))]
#[cfg_attr(docsrs, doc(cfg(feature = "db_extension")))]
pub fn compute_on_random(
&self,
rng: &mut impl rand::Rng,
Expand Down

0 comments on commit c168553

Please sign in to comment.