Skip to content

Commit 16d1a05

Browse files
committed
Tweak docs
1 parent 255c758 commit 16d1a05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tokio-postgres/src/tls.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub trait TlsStream: 'static + Sync + Send + AsyncRead + AsyncWrite {
6262
/// Returns the data associated with the `tls-unique` channel binding type as described in
6363
/// [RFC 5929], if supported.
6464
///
65-
/// An implementation only needs to support one of this or `tls_server_end_point`.
65+
/// An implementation only needs to support at most one of this or `tls_server_end_point`.
6666
///
6767
/// [RFC 5929]: https://tools.ietf.org/html/rfc5929
6868
fn tls_unique(&self) -> Option<Vec<u8>> {
@@ -72,7 +72,7 @@ pub trait TlsStream: 'static + Sync + Send + AsyncRead + AsyncWrite {
7272
/// Returns the data associated with the `tls-server-end-point` channel binding type as
7373
/// described in [RFC 5929], if supported.
7474
///
75-
/// An implementation only needs to support one of this or `tls_unique`.
75+
/// An implementation only needs to support at most one of this or `tls_unique`.
7676
///
7777
/// [RFC 5929]: https://tools.ietf.org/html/rfc5929
7878
fn tls_server_end_point(&self) -> Option<Vec<u8>> {

0 commit comments

Comments
 (0)