Add struct NoContent as a self-described shortcut (#2978)

This commit is contained in:
oxalica
2024-11-14 22:44:01 +01:00
committed by Jonas Platte
parent 236781cfdc
commit dcb4af68de
2 changed files with 36 additions and 1 deletions
+2
View File
@@ -9,8 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **added:** Add `MethodFilter::CONNECT`, `routing::connect[_service]`
and `MethodRouter::connect[_service]` ([#2961])
- **added:** Add `NoContent` as a self-described shortcut for `StatusCode::NO_CONTENT` ([#2978])
[#2961]: https://github.com/tokio-rs/axum/pull/2961
[#2978]: https://github.com/tokio-rs/axum/pull/2978
# 0.7.7