Skip to content

Commit

Permalink
chore: use expect
Browse files Browse the repository at this point in the history
Co-authored-by: Marin Veršić <[email protected]>
Signed-off-by: 0x009922 <[email protected]>
  • Loading branch information
0x009922 and mversic committed Oct 18, 2024
1 parent 6c7af36 commit 435387c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/iroha_torii/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub mod extractors {
}

/// Extractor of Accept header
#[cfg_attr(not(feature = "telemetry"), allow(unused))]
#[cfg_attr(not(feature = "telemetry"), expect(unused))]
pub struct ExtractAccept(pub HeaderValue);

#[async_trait]
Expand Down

0 comments on commit 435387c

Please sign in to comment.