mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-06 00:00:17 +02:00
Fix a typo (#605)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user