tor-netdoc: Allow suppressing unknown lints
We want to supress the unused_macro_rules lint in one place but it's new in Nightly and this triggers yet another lint.
This commit is contained in:
parent
1f067c0237
commit
0173fce2e9
|
@ -1,5 +1,7 @@
|
||||||
//! Declares macros to help implementing parsers.
|
//! Declares macros to help implementing parsers.
|
||||||
|
|
||||||
|
#![allow(unknown_lints)]
|
||||||
|
|
||||||
/// Macro for declaring a keyword enumeration to help parse a document.
|
/// Macro for declaring a keyword enumeration to help parse a document.
|
||||||
///
|
///
|
||||||
/// A keyword enumeration implements the Keyword trait.
|
/// A keyword enumeration implements the Keyword trait.
|
||||||
|
|
Loading…
Reference in New Issue