Skip to content

Commit 551e96b

Browse files
author
Jonas Maier
committed
cargo fmt
1 parent 5fddfda commit 551e96b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

openssl/src/ts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ impl TsRespContext {
410410
}
411411
}
412412

413-
foreign_type_and_impl_send_sync!{
413+
foreign_type_and_impl_send_sync! {
414414
type CType = ffi::TS_TST_INFO;
415415
fn drop = ffi::TS_TST_INFO_free;
416416
pub struct TsTstInfo;

openssl/src/x509/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,9 +2301,7 @@ impl X509AlgorithmRef {
23012301

23022302
impl PartialEq for X509AlgorithmRef {
23032303
fn eq(&self, other: &Self) -> bool {
2304-
unsafe {
2305-
ffi::X509_ALGOR_cmp(self.as_ptr(), other.as_ptr()) == 0
2306-
}
2304+
unsafe { ffi::X509_ALGOR_cmp(self.as_ptr(), other.as_ptr()) == 0 }
23072305
}
23082306
}
23092307

0 commit comments

Comments
 (0)