Skip to content

Commit 7d04b8a

Browse files
authored
Merge pull request sfackler#271 from rust1248/task/builder-documentation
Update builders documentation
2 parents 985741d + 3c13df8 commit 7d04b8a

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
@@ -325,6 +325,8 @@ pub enum Protocol {
325325
}
326326

327327
/// A builder for `TlsConnector`s.
328+
///
329+
/// You can get one from [`TlsConnector::builder()`](TlsConnector::builder)
328330
pub struct TlsConnectorBuilder {
329331
identity: Option<Identity>,
330332
min_protocol: Option<Protocol>,
@@ -513,6 +515,8 @@ impl TlsConnector {
513515
}
514516

515517
/// A builder for `TlsAcceptor`s.
518+
///
519+
/// You can get one from [`TlsAcceptor::builder()`](TlsAcceptor::builder)
516520
pub struct TlsAcceptorBuilder {
517521
identity: Identity,
518522
min_protocol: Option<Protocol>,

0 commit comments

Comments
 (0)