Skip to content

Commit fd226f7

Browse files
samp5seanmonstar
andauthored
adj src/error.rs
Co-authored-by: Sean McArthur <[email protected]>
1 parent 64af13e commit fd226f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ impl Error {
511511
any(feature = "client", feature = "server"),
512512
feature = "http2"
513513
))]
514-
Kind::User(User::InvalidConnectWithBody) => " user sent connect request with non-zero body via HTTP/2",
514+
Kind::User(User::InvalidConnectWithBody) => "user sent CONNECT request with non-zero body",
515515
Kind::User(User::Service) => "error from user's Service",
516516
#[cfg(any(feature = "http1", feature = "http2"))]
517517
#[cfg(feature = "server")]

0 commit comments

Comments
 (0)