summaryrefslogtreecommitdiff
path: root/src/rust/tor_util/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/tor_util/ffi.rs')
-rw-r--r--src/rust/tor_util/ffi.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rust/tor_util/ffi.rs b/src/rust/tor_util/ffi.rs
index 9a56309365..214727a190 100644
--- a/src/rust/tor_util/ffi.rs
+++ b/src/rust/tor_util/ffi.rs
@@ -15,7 +15,9 @@ use tor_allocate::allocate_and_copy_string;
/// ```
#[no_mangle]
pub extern "C" fn rust_welcome_string() -> *mut c_char {
- let rust_welcome = String::from("Tor is running with Rust integration. Please report \
- any bugs you encouter.");
+ let rust_welcome = String::from(
+ "Tor is running with Rust integration. Please report \
+ any bugs you encouter.",
+ );
allocate_and_copy_string(&rust_welcome)
}