You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-31 09:24:31 +03:00
Upgrade Rust to 1.72.0
Fixes new clippy errors and upgrade other tools
This commit is contained in:
@ -80,6 +80,10 @@ impl<T> MaybeTlsStream<T> {
|
||||
|
||||
/// Gather informations about the TLS connection. Returns `None` if the
|
||||
/// stream is not a TLS stream.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if the TLS handshake is not done yet, which should never happen
|
||||
pub fn tls_info(&self) -> Option<TlsStreamInfo> {
|
||||
let conn = self.get_tls_connection()?;
|
||||
|
||||
|
Reference in New Issue
Block a user