Some documentation fixes (#3027)

This commit is contained in:
Jonas Platte
2024-11-14 23:01:27 +01:00
parent 8bc326cc3d
commit da4580247a
7 changed files with 10 additions and 9 deletions
-1
View File
@@ -57,4 +57,3 @@ allowed = [
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
+1 -1
View File
@@ -42,7 +42,7 @@ define_rejection! {
#[body = "Failed to buffer the request body"]
/// Encountered some other error when buffering the body.
///
/// This can _only_ happen when you're using [`tower_http::limit::RequestBodyLimitLayer`] or
/// This can _only_ happen when you're using [`tower_http::limit::RequestBodyLimitLayer`] or
/// otherwise wrapping request bodies in [`http_body_util::Limited`].
pub struct LengthLimitError(Error);
}