aboutsummaryrefslogtreecommitdiff
path: root/src/rust/tor_log
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2018-02-27 20:43:54 +0000
committerIsis Lovecruft <isis@torproject.org>2018-02-27 20:43:54 +0000
commit167da4bc81da7de0214357cbe08404703bc8c86a (patch)
tree3a86a625676e257cb433d06962a60fb3a23843a9 /src/rust/tor_log
parentd0184963f9731bea82db1958c885ea1e7f7c42d1 (diff)
downloadtor-167da4bc81da7de0214357cbe08404703bc8c86a.tar.gz
tor-167da4bc81da7de0214357cbe08404703bc8c86a.zip
rust: Remove extra whitespace from a static log/error message.
Diffstat (limited to 'src/rust/tor_log')
-rw-r--r--src/rust/tor_log/tor_log.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rust/tor_log/tor_log.rs b/src/rust/tor_log/tor_log.rs
index a88184cda9..df032c51f6 100644
--- a/src/rust/tor_log/tor_log.rs
+++ b/src/rust/tor_log/tor_log.rs
@@ -62,7 +62,7 @@ pub fn tor_log_msg_impl(
/// Default message to log in case of errors when converting a log
/// message to a CString
- const ERR_LOG_MSG: &str = "Unable to log message from Rust
+ const ERR_LOG_MSG: &str = "Unable to log message from Rust \
module due to error when converting to CString";
let func = match CString::new(function) {