Skip to content

Commit 75e4fd2

Browse files
committed
Fix clippy and cargo fmt
1 parent c3b714e commit 75e4fd2

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

openssl/src/aes.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
//! # Examples
2424
2525
#![cfg_attr(
26-
all(not(boringssl), not(awslc), not(osslconf = "OPENSSL_NO_DEPRECATED_3_0")),
26+
all(
27+
not(boringssl),
28+
not(awslc),
29+
not(osslconf = "OPENSSL_NO_DEPRECATED_3_0")
30+
),
2731
doc = r#"\
2832
## AES IGE
2933
```rust

openssl/src/ocsp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl OcspBasicResponseRef {
169169
self.as_ptr(),
170170
certs.as_ptr(),
171171
store.as_ptr(),
172-
flags.bits().try_into().map_err(|_|ErrorStack::get())?,
172+
flags.bits().try_into().map_err(|_| ErrorStack::get())?,
173173
))
174174
.map(|_| ())
175175
}

openssl/src/version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ fn test_versions() {
119119
fn expected_name() -> &'static str {
120120
"LibreSSL"
121121
}
122-
#[cfg(any(boringssl))]
122+
#[cfg(boringssl)]
123123
fn expected_name() -> &'static str {
124124
"BoringSSL"
125125
}

0 commit comments

Comments
 (0)