mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-02 23:34:47 +00:00
Fix typo in docs
This commit is contained in:
parent
21876fcc64
commit
c93d7c324e
@ -220,7 +220,7 @@ use std::{
|
|||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// In general however we recommend you implement `Clone` to all your state types to avoid
|
/// In general however we recommend you implement `Clone` for all your state types to avoid
|
||||||
/// potential type errors.
|
/// potential type errors.
|
||||||
#[derive(Debug, Default, Clone, Copy)]
|
#[derive(Debug, Default, Clone, Copy)]
|
||||||
pub struct State<S>(pub S);
|
pub struct State<S>(pub S);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user