Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
koushiro committed Sep 5, 2024
1 parent be5ff4b commit 0c349c9
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions core/src/layers/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,11 @@ use crate::*;
/// let (recorder, exporter) = builder.build().expect("failed to build recorder/exporter");
/// let recorder = builder.build_recorder().expect("failed to build recorder");
/// ```
#[derive(Clone, Debug)]
#[derive(Clone, Debug, Default)]
pub struct MetricsLayer {
path_label_level: usize,
}

impl Default for MetricsLayer {
fn default() -> Self {
Self {
path_label_level: 0,
}
}
}

impl MetricsLayer {
/// Set the level of path label.
///
Expand Down

0 comments on commit 0c349c9

Please sign in to comment.