Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 6e2821b

Browse files
niklasad1dvdplm
authored andcommitted
ethcore/sync Make view macro only visible to test (#9316)
* remove needless macro import * enable ethcore/macros in tests
1 parent 1564fae commit 6e2821b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ethcore/sync/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extern crate ethcore_network_devp2p as devp2p;
2626
extern crate parity_bytes as bytes;
2727
extern crate ethcore_io as io;
2828
extern crate ethcore_transaction as transaction;
29-
#[macro_use]
29+
#[cfg_attr(test, macro_use)]
3030
extern crate ethcore;
3131
extern crate ethereum_types;
3232
extern crate env_logger;

0 commit comments

Comments
 (0)