1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 23:11:16 +02:00

Remove macro_use

As of Rust 2018, macro_use is no longer required in most circumstances.
I think it is generally a good idea to remove these when not needed, to
stop them from polluting the crate's global namespace.
https://doc.rust-lang.org/edition-guide/rust-2018/macros/macro-changes.html#macro_rules-style-macros
This commit is contained in:
Leonhard Markert 2020-02-10 09:01:43 +01:00
parent d82b78bf51
commit 1b56de8cd1
3 changed files with 4 additions and 11 deletions

View file

@ -1,14 +1,3 @@
#[macro_use]
extern crate lazy_static;
#[cfg(test)]
#[macro_use]
extern crate assert_matches;
#[cfg(test)]
#[macro_use]
extern crate proptest;
#[cfg(not(test))]
mod c;
mod error;