Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update builders documentation #271

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

rust1248
Copy link
Contributor

Fixes #266

Update the Builders documentation to make clearer how to construct them

@sfackler
Copy link
Owner

There are some rustfmt failures.

@rust1248
Copy link
Contributor Author

These are not mine (I only updated the docs)

@sfackler
Copy link
Owner

The rustfmt failures are pointing at the docs you updated:

 }
 
 /// A builder for `TlsConnector`s.
-/// 
+///
 /// You can get one from [`TlsConnector::builder()`](TlsConnector::builder)
 pub struct TlsConnectorBuilder {
     identity: Option<Identity>,
Diff in /home/runner/work/rust-native-tls/rust-native-tls/src/lib.rs at line 5[19](https://github.com/sfackler/rust-native-tls/actions/runs/5342182950/jobs/9726590832?pr=271#step:4:21):
 }
 
 /// A builder for `TlsAcceptor`s.
-/// 
+///
 /// You can get one from [`TlsAcceptor::builder()`](TlsAcceptor::builder)
 pub struct TlsAcceptorBuilder {
     identity: Identity,

@rust1248
Copy link
Contributor Author

@sfackler Sorry for that, I only saw the other error

I fixed them (I think)

@sfackler sfackler merged commit 7d04b8a into sfackler:master Jun 26, 2023
@rust1248 rust1248 deleted the task/builder-documentation branch June 26, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TlsConnectorBuilder constructor
2 participants