Skip to content

Commit b5180f7

Browse files
committed
Update builders documentation
1 parent 8fa929d commit b5180f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ pub enum Protocol {
329329
}
330330

331331
/// A builder for `TlsConnector`s.
332+
///
333+
/// You can get one from [`TlsConnector::builder()`](TlsConnector::builder)
332334
pub struct TlsConnectorBuilder {
333335
identity: Option<Identity>,
334336
min_protocol: Option<Protocol>,
@@ -517,6 +519,8 @@ impl TlsConnector {
517519
}
518520

519521
/// A builder for `TlsAcceptor`s.
522+
///
523+
/// You can get one from [`TlsAcceptor::builder()`](TlsAcceptor::builder)
520524
pub struct TlsAcceptorBuilder {
521525
identity: Identity,
522526
min_protocol: Option<Protocol>,

0 commit comments

Comments
 (0)