You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Fix rustdoc lints
This commit is contained in:
@ -22,6 +22,9 @@
|
||||
#![warn(clippy::pedantic)]
|
||||
#![allow(clippy::module_name_repetitions)]
|
||||
|
||||
//! An utility crate to build flexible [`hyper`] listeners, with optional TLS
|
||||
//! and proxy protocol support.
|
||||
|
||||
use self::{maybe_tls::TlsStreamInfo, proxy_protocol::ProxyProtocolV1Info};
|
||||
|
||||
pub mod maybe_tls;
|
||||
|
@ -39,7 +39,7 @@ pub struct Server<S> {
|
||||
impl<S> Server<S> {
|
||||
/// # Errors
|
||||
///
|
||||
/// Returns an error if the listener couldn't be converted via [`TryInfo`]
|
||||
/// Returns an error if the listener couldn't be converted via [`TryInto`]
|
||||
pub fn try_new<L>(listener: L, service: S) -> Result<Self, L::Error>
|
||||
where
|
||||
L: TryInto<UnixOrTcpListener>,
|
||||
|
Reference in New Issue
Block a user