summaryrefslogtreecommitdiff
path: root/src/rust/protover/ffi.rs
diff options
context:
space:
mode:
authorChelsea Holland Komlo <me@chelseakomlo.com>2017-11-27 23:00:33 -0500
committerChelsea Holland Komlo <me@chelseakomlo.com>2017-12-21 15:29:33 -0500
commitcd8bcacfe1053d067127507b4ebd8bd7b33309e9 (patch)
tree96034a824fa2fd218b7ddcfea3ec1fe646d05972 /src/rust/protover/ffi.rs
parent3dfe8e6522460817100582a33a382be3c3efd988 (diff)
downloadtor-cd8bcacfe1053d067127507b4ebd8bd7b33309e9.tar.gz
tor-cd8bcacfe1053d067127507b4ebd8bd7b33309e9.zip
cargo fmt fixes
Diffstat (limited to 'src/rust/protover/ffi.rs')
-rw-r--r--src/rust/protover/ffi.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/rust/protover/ffi.rs b/src/rust/protover/ffi.rs
index 3eb22c933e..02b7dec371 100644
--- a/src/rust/protover/ffi.rs
+++ b/src/rust/protover/ffi.rs
@@ -127,9 +127,11 @@ pub extern "C" fn protocol_list_supports_protocol_or_later(
Err(_) => return 0,
};
- let is_supported =
- protover_string_supports_protocol_or_later(
- protocol_list, protocol, version);
+ let is_supported = protover_string_supports_protocol_or_later(
+ protocol_list,
+ protocol,
+ version,
+ );
return if is_supported { 1 } else { 0 };
}