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