Skip to content

Commit

Permalink
Allow clippy::redundant_pub_crate in stats crate
Browse files Browse the repository at this point in the history
Summary: macro code shouldn't generate this message

Reviewed By: kcdode

Differential Revision: D67285922

fbshipit-source-id: 017d141027b101867195c4f897b14ac8a0ff2411
  • Loading branch information
edward-shen authored and facebook-github-bot committed Dec 16, 2024
1 parent 65b7eee commit b4aefab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shed/stats/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ macro_rules! define_stats {

(prefix = $prefix:expr;
$( $name:ident: $stat_type:tt($( $params:tt )*), )*) => (
#[allow(non_snake_case, non_upper_case_globals, unused_imports)]
#[allow(non_snake_case, non_upper_case_globals, unused_imports, clippy::redundant_pub_crate)]
pub(crate) mod STATS {
use $crate::macros::common_macro_prelude::*;

Expand Down

0 comments on commit b4aefab

Please sign in to comment.