From ba0e79ecbd3f46a0f111483883be02784526b064 Mon Sep 17 00:00:00 2001 From: syvb Date: Mon, 6 Nov 2023 17:07:12 -0500 Subject: [PATCH] Apply #[must_use] to the right item --- src/ids/consts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ids/consts.rs b/src/ids/consts.rs index a408126..5833fef 100644 --- a/src/ids/consts.rs +++ b/src/ids/consts.rs @@ -23,8 +23,8 @@ macro_rules! pid_consts ( macro_rules! qid_unit_suffixes { { $($key:ident => $value:expr),+, } => { - #[must_use] use super::*; + #[must_use] pub(crate) const fn unit_suffix(qid: Qid) -> Option<&'static str> { $( if qid.0 == ($key).0 {