Skip to content

Commit 8c8fcf5

Browse files
committed
cipher: fix unneeded return statements.
This commit addresses some nightly clippy findings from CI, two instances of unneeded `return` statements.
1 parent 7b1839d commit 8c8fcf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cipher.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ impl rustls_allow_any_authenticated_client_verifier {
634634
},
635635
Some(x) => x,
636636
};
637-
return Arc::into_raw(client_cert_verifier.boxed()) as *const _;
637+
Arc::into_raw(client_cert_verifier.boxed()) as *const _
638638
}
639639
}
640640

@@ -784,7 +784,7 @@ impl rustls_allow_any_anonymous_or_authenticated_client_verifier {
784784
},
785785
Some(x) => x,
786786
};
787-
return Arc::into_raw(client_cert_verifier.boxed()) as *const _;
787+
Arc::into_raw(client_cert_verifier.boxed()) as *const _
788788
}
789789
}
790790

0 commit comments

Comments
 (0)