You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: design/src/rfcs/rfc0015_using_features_responsibly.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ As noted earlier in an excerpt from the Cargo book:
35
35
> enabling a feature should not disable functionality, and it should usually be safe to enable any combination of features. A feature should not introduce a [SemVer-incompatible change].
36
36
37
37
```rust
38
-
#[cfg(feature ="rustls")]
38
+
#[cfg(feature ="__rustls")]
39
39
impl<M, R> ClientBuilder<(), M, R> {
40
40
/// Connect to the service over HTTPS using Rustls.
41
41
pubfntls_adapter(self) ->ClientBuilder<Adapter<crate::conns::Https>, M, R> {
@@ -59,7 +59,7 @@ When the example code above is compiled with both features enabled, compilation
59
59
Here's an updated version of the example that fixes these issues:
60
60
61
61
```rust
62
-
#[cfg(feature ="rustls")]
62
+
#[cfg(feature ="__rustls")]
63
63
impl<M, R> ClientBuilder<(), M, R> {
64
64
/// Connect to the service over HTTPS using Rustls.
65
65
pubfnrustls(self) ->ClientBuilder<Adapter<crate::conns::Https>, M, R> {
0 commit comments