From 16d1a050e7a46e272fe41a9dfc0929f8523bb14a Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 14 Oct 2018 17:50:21 -0700 Subject: [PATCH] Tweak docs --- tokio-postgres/src/tls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio-postgres/src/tls.rs b/tokio-postgres/src/tls.rs index bcb49778..d141d0d9 100644 --- a/tokio-postgres/src/tls.rs +++ b/tokio-postgres/src/tls.rs @@ -62,7 +62,7 @@ pub trait TlsStream: 'static + Sync + Send + AsyncRead + AsyncWrite { /// Returns the data associated with the `tls-unique` channel binding type as described in /// [RFC 5929], if supported. /// - /// An implementation only needs to support one of this or `tls_server_end_point`. + /// An implementation only needs to support at most one of this or `tls_server_end_point`. /// /// [RFC 5929]: https://tools.ietf.org/html/rfc5929 fn tls_unique(&self) -> Option> { @@ -72,7 +72,7 @@ pub trait TlsStream: 'static + Sync + Send + AsyncRead + AsyncWrite { /// Returns the data associated with the `tls-server-end-point` channel binding type as /// described in [RFC 5929], if supported. /// - /// An implementation only needs to support one of this or `tls_unique`. + /// An implementation only needs to support at most one of this or `tls_unique`. /// /// [RFC 5929]: https://tools.ietf.org/html/rfc5929 fn tls_server_end_point(&self) -> Option> {