Merge pull request #1 from Its-Just-Nans/doc-correct

Doc correct to pass the CI
This commit is contained in:
Félix Lescaudey de Maneville 2024-01-25 19:58:24 +01:00 committed by GitHub
commit 9dbdf1c472
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ impl<'h, 'b> IntoClientRequest for httparse::Request<'h, 'b> {
/// let token = "my_jwt_token";
/// let builder = ClientRequestBuilder::new(uri)
/// .with_header("Authorization", format!("Bearer {token}"))
/// .with_sub_protocol("my_sub_protocol"");
/// .with_sub_protocol("my_sub_protocol");
/// let socket = connect(builder).unwrap();
/// ```
#[derive(Debug, Clone)]