Skip to content

Commit

Permalink
Allow clippy lint dead_code for RwLockExtend::read_expect
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO committed May 26, 2024
1 parent 7d7a3ba commit 676dca0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spdlog/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pub trait RwLockExtend<'a> {
type ReadReturn;
type WriteReturn;

#[allow(dead_code)]
#[must_use]
fn read_expect(&'a self) -> Self::ReadReturn;

Expand Down

0 comments on commit 676dca0

Please sign in to comment.