#[must_use] all the things! (#1809)

This commit is contained in:
David Pedersen
2023-03-03 14:12:35 +01:00
committed by GitHub
parent 5a58edac16
commit 5606ea3f9e
26 changed files with 43 additions and 9 deletions
@@ -73,6 +73,7 @@ use tower_layer::Layer;
/// [`RequestExt::with_limited_body`]: crate::RequestExt::with_limited_body
/// [`RequestExt::into_limited_body`]: crate::RequestExt::into_limited_body
#[derive(Debug, Clone)]
#[must_use]
pub struct DefaultBodyLimit {
kind: DefaultBodyLimitKind,
}