aboutsummaryrefslogtreecommitdiff
path: root/src/rust/external
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2018-09-24 18:00:56 +0000
committercypherpunks <cypherpunks@torproject.org>2018-09-24 18:00:56 +0000
commit5e74db95c2a38eaa5736688ff4d2580d95c5e059 (patch)
treec7383c7857640eec01703fd844b5809132e497e5 /src/rust/external
parentb7bd162af70ced68d3ea9d738c8cacb5bea75a1c (diff)
downloadtor-5e74db95c2a38eaa5736688ff4d2580d95c5e059.tar.gz
tor-5e74db95c2a38eaa5736688ff4d2580d95c5e059.zip
rust: run rustfmt
Diffstat (limited to 'src/rust/external')
-rw-r--r--src/rust/external/external.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rust/external/external.rs b/src/rust/external/external.rs
index d342fe096e..aa43d2a928 100644
--- a/src/rust/external/external.rs
+++ b/src/rust/external/external.rs
@@ -32,7 +32,6 @@ extern "C" {
}
/// Return true if Tor was built to use NSS.
-pub fn c_tor_is_using_nss() -> bool
-{
+pub fn c_tor_is_using_nss() -> bool {
0 != unsafe { tor_is_using_nss() }
}