1
0
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:
Quentin Gliech
2023-01-18 12:25:49 +01:00
parent 142fdbd45a
commit 3798f25f7d
7 changed files with 12 additions and 12 deletions

View File

@ -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;

View File

@ -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>,