Skip to content

Commit

Permalink
chore: Fix Clippy lint
Browse files Browse the repository at this point in the history
Co-authored-by: Jakob Schikowski <[email protected]>
  • Loading branch information
duesee and jakoschiko committed Dec 21, 2023
1 parent b4d5fe6 commit 916b5b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tag-generator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ impl TagGenerator {
/// Generate an instance of a `TagGenerator`
///
/// Returns a `TagGenerator` generating tags with a unique prefix.
#[allow(clippy::new_without_default)]
pub fn new() -> TagGenerator {
// There is no synchronization required and we only care about each thread seeing a unique value.
let global = GLOBAL_TAG_GENERATOR_COUNT.fetch_add(1, Ordering::Relaxed);
Expand Down

0 comments on commit 916b5b6

Please sign in to comment.