diff options
Diffstat (limited to 'src/rust/tor_util')
-rw-r--r-- | src/rust/tor_util/ffi.rs | 4 | ||||
-rw-r--r-- | src/rust/tor_util/strings.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rust/tor_util/ffi.rs b/src/rust/tor_util/ffi.rs index 4be154ff1e..f015590178 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::{LogSeverity, LogDomain}; +use tor_log::{LogDomain, LogSeverity}; /// Returns a short string to announce Rust support during startup. /// @@ -22,6 +22,6 @@ pub extern "C" fn rust_log_welcome_string() { LogDomain::General, "rust_log_welcome_string", "Tor is running with Rust integration. Please report \ - any bugs you encounter." + any bugs you encounter." ); } diff --git a/src/rust/tor_util/strings.rs b/src/rust/tor_util/strings.rs index c365564e97..d64275e06b 100644 --- a/src/rust/tor_util/strings.rs +++ b/src/rust/tor_util/strings.rs @@ -131,10 +131,10 @@ mod test { #[test] fn cstr_macro_bad_input() { - let waving: &'static CStr = cstr!("waving not drowning o/"); + let waving: &'static CStr = cstr!("waving not drowning o/"); let drowning: &'static CStr = cstr!("\0 drowning not waving"); - assert!(waving.to_str().unwrap() == "waving not drowning o/"); + assert!(waving.to_str().unwrap() == "waving not drowning o/"); assert!(drowning.to_str().unwrap() == "") } } |