mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-06 00:00:17 +02:00
Some documentation fixes (#3027)
This commit is contained in:
@@ -84,7 +84,6 @@ tower-http = { version = "0.6.0", features = ["map-response-body", "timeout"] }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[package.metadata.cargo-public-api-crates]
|
||||
allowed = [
|
||||
|
||||
@@ -75,7 +75,7 @@ use std::{
|
||||
/// to keep `Field`s around from previous loop iterations. That will minimize the risk of runtime
|
||||
/// errors.
|
||||
///
|
||||
/// # Differences between this and `axum::extract::Multipart`
|
||||
/// # Differences between this and `axum::extract::Multipart`
|
||||
///
|
||||
/// `axum::extract::Multipart` uses lifetimes to enforce field exclusivity at compile time, however
|
||||
/// that leads to significant usability issues such as `Field` not being `'static`.
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
//! `query` | Enables the `Query` extractor | No
|
||||
//! `tracing` | Log rejections from built-in extractors | Yes
|
||||
//! `typed-routing` | Enables the `TypedPath` routing utilities | No
|
||||
//! `typed-header` | Enables the `TypedHeader` extractor and response | No
|
||||
//! `typed-header` | Enables the `TypedHeader` extractor and response | No
|
||||
//!
|
||||
//! [`axum`]: https://crates.io/crates/axum
|
||||
|
||||
|
||||
Reference in New Issue
Block a user