From c93d7c324e852cc447c16bc4caf8428af42968f7 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Sun, 18 Sep 2022 22:24:11 +0200 Subject: [PATCH] Fix typo in docs --- axum/src/extract/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/extract/state.rs b/axum/src/extract/state.rs index afacffb1..9027e1aa 100644 --- a/axum/src/extract/state.rs +++ b/axum/src/extract/state.rs @@ -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. #[derive(Debug, Default, Clone, Copy)] pub struct State(pub S);