diff --git a/CHANGELOG.md b/CHANGELOG.md index c0ecb85fd..ad6a1b93a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,7 +75,7 @@ - **Features**: - Add `tracing` internals in place of `log` (log is still emitted for backwards compatibility). - - Add `warp::trace` module set of filters to customize `tracing` dianostics. + - Add `warp::trace` module set of filters to customize `tracing` diagnostics. - Add `path` method to `warp::fs::File` reply. - Add `source` implementation for `BodyDeserializeError`. - Make `warp::ws::MissingConnectionUpgrade` rejection public. diff --git a/src/filters/compression.rs b/src/filters/compression.rs index 244e76835..85408ff14 100644 --- a/src/filters/compression.rs +++ b/src/filters/compression.rs @@ -177,7 +177,7 @@ mod internal { /// compatible with async_compression's Stream based encoders #[pin_project] #[derive(Debug)] - pub struct CompressableBody + pub struct CompressibleBody where E: std::error::Error, S: Stream>, @@ -186,7 +186,7 @@ mod internal { body: S, } - impl Stream for CompressableBody + impl Stream for CompressibleBody where E: std::error::Error, S: Stream>, @@ -201,16 +201,16 @@ mod internal { } } - impl From for CompressableBody { + impl From for CompressibleBody { fn from(body: Body) -> Self { - CompressableBody { body } + CompressibleBody { body } } } /// Compression Props #[derive(Debug)] pub struct CompressionProps { - pub(super) body: CompressableBody, + pub(super) body: CompressibleBody, pub(super) head: http::response::Parts, } diff --git a/src/reply.rs b/src/reply.rs index 79e6dfd0e..9176fc5f2 100644 --- a/src/reply.rs +++ b/src/reply.rs @@ -51,7 +51,7 @@ use self::sealed::{BoxedReply, Internal}; #[doc(hidden)] pub use crate::filters::reply as with; -/// Response type into which types implementing the `Reply` trait are convertable. +/// Response type into which types implementing the `Reply` trait are convertible. pub type Response = ::http::Response; /// Returns an empty `Reply` with status code `200 OK`.