Skip to content

Commit c20395d

Browse files
committed
refactor(header): only import langtag macro for tests
1 parent f1bb65f commit c20395d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ extern crate num_cpus;
137137
extern crate traitobject;
138138
extern crate typeable;
139139

140-
#[macro_use]
140+
#[cfg_attr(test, macro_use)]
141141
extern crate language_tags;
142142

143143
#[macro_use]

0 commit comments

Comments
 (0)