[tor-commits] [tor/master] rust: Remove extra whitespace from a static log/error message.

nickm at torproject.org nickm at torproject.org
Mon Mar 19 21:20:46 UTC 2018


commit 167da4bc81da7de0214357cbe08404703bc8c86a
Author: Isis Lovecruft <isis at torproject.org>
Date:   Tue Feb 27 20:43:54 2018 +0000

    rust: Remove extra whitespace from a static log/error message.
---
 src/rust/tor_log/tor_log.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rust/tor_log/tor_log.rs b/src/rust/tor_log/tor_log.rs
index a88184cda..df032c51f 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) {





More information about the tor-commits mailing list