From 856f4496d1510e0b901783df1e3f6c4f2cfd4ae5 Mon Sep 17 00:00:00 2001 From: Yotam Ofek Date: Sun, 20 Oct 2024 10:45:05 +0300 Subject: [PATCH] Fix typo in upgrading.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it's ➡️ its --- _stable/upgrading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_stable/upgrading.md b/_stable/upgrading.md index 7bf3e0e..ca9a292 100644 --- a/_stable/upgrading.md +++ b/_stable/upgrading.md @@ -66,7 +66,7 @@ The listening server acceptor can be replaced with a simple loop. ## `Service`/`service_fn` Previously, hyper depended on `tower` for the `Service` trait. Because -`tower` is not yet 1.0, hyper could not publicly depend on it. So, it's +`tower` is not yet 1.0, hyper could not publicly depend on it. So, its `Service` trait and the helper function `service_fn` are defined in `hyper::service`. Check [middleware](https://hyper.rs/guides/1/server/middleware/) for more details.