mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-01 15:00:46 +00:00
Fix a typo (#605)
This commit is contained in:
parent
3a259dcec7
commit
c8c0bb2ce1
@ -49,7 +49,7 @@ use std::{convert::TryInto, fmt};
|
|||||||
/// Server Error` response will be returned.
|
/// Server Error` response will be returned.
|
||||||
///
|
///
|
||||||
/// You can also return `(Headers, impl IntoResponse)` to customize the headers
|
/// You can also return `(Headers, impl IntoResponse)` to customize the headers
|
||||||
/// of a response, or `(StatusCode, Headeres, impl IntoResponse)` to customize
|
/// of a response, or `(StatusCode, Headers, impl IntoResponse)` to customize
|
||||||
/// the status code and headers.
|
/// the status code and headers.
|
||||||
#[derive(Clone, Copy, Debug)]
|
#[derive(Clone, Copy, Debug)]
|
||||||
pub struct Headers<H>(pub H);
|
pub struct Headers<H>(pub H);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user