summaryrefslogtreecommitdiff
path: root/src/rust/tor_util
diff options
context:
space:
mode:
authorChelsea Holland Komlo <me@chelseakomlo.com>2017-12-16 20:22:21 -0500
committerChelsea Holland Komlo <me@chelseakomlo.com>2017-12-21 15:29:33 -0500
commit71a53761415885b3d5f290c3996d1f1634364f8e (patch)
treef283707eea943ca8e250be702f851f09febb0b15 /src/rust/tor_util
parent0e032fe9ea494ab03e5db5ca901ddbddd147eb19 (diff)
downloadtor-71a53761415885b3d5f290c3996d1f1634364f8e.tar.gz
tor-71a53761415885b3d5f290c3996d1f1634364f8e.zip
move macro body to inline rust function
Diffstat (limited to 'src/rust/tor_util')
-rw-r--r--src/rust/tor_util/ffi.rs2
-rw-r--r--src/rust/tor_util/lib.rs2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/rust/tor_util/ffi.rs b/src/rust/tor_util/ffi.rs
index 866d119740..a9a6cf895c 100644
--- a/src/rust/tor_util/ffi.rs
+++ b/src/rust/tor_util/ffi.rs
@@ -5,7 +5,7 @@
//! called from C.
//!
-use tor_log::*;
+use tor_log::{LogSeverity, LogDomain};
/// Returns a short string to announce Rust support during startup.
///
diff --git a/src/rust/tor_util/lib.rs b/src/rust/tor_util/lib.rs
index 86785c344a..4d5cbb5680 100644
--- a/src/rust/tor_util/lib.rs
+++ b/src/rust/tor_util/lib.rs
@@ -7,6 +7,8 @@
extern crate libc;
extern crate tor_allocate;
+
+#[macro_use]
extern crate tor_log;
pub mod ffi;