From 8d7eada03416a527b709651c66e3dcf7ed96ad49 Mon Sep 17 00:00:00 2001 From: Flamenco Date: Wed, 9 Oct 2024 06:22:06 -0400 Subject: [PATCH] Update middleware.md (#2967) --- axum/src/docs/middleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/docs/middleware.md b/axum/src/docs/middleware.md index 3a90237236..bef5a8b592 100644 --- a/axum/src/docs/middleware.md +++ b/axum/src/docs/middleware.md @@ -190,7 +190,7 @@ You should use these when ## `tower::Service` and `Pin>` -For maximum control (and a more low level API) you can write you own middleware +For maximum control (and a more low level API) you can write your own middleware by implementing [`tower::Service`]: Use [`tower::Service`] with `Pin>` to write your middleware when: