Remove unnecessary #[allow(dead_code)]
This commit is contained in:
parent
d31f70c87c
commit
ab42f96cff
@ -119,7 +119,6 @@ pub fn group(&self, group: LangItemGroup) -> &[DefId] {
|
||||
|
||||
$(
|
||||
#[doc = concat!("Returns the [`DefId`] of the `", stringify!($name), "` lang item if it is defined.")]
|
||||
#[allow(dead_code)]
|
||||
pub fn $method(&self) -> Option<DefId> {
|
||||
self.items[LangItem::$variant as usize]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user