From b7c5a14f72ca359ef79192dab40a0e4c489cc486 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Fri, 13 Oct 2023 18:01:58 +0200 Subject: [PATCH] h2c: fix typo in docstring --- sqld/src/h2c.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqld/src/h2c.rs b/sqld/src/h2c.rs index e7e19bb8..f48dc372 100644 --- a/sqld/src/h2c.rs +++ b/sqld/src/h2c.rs @@ -49,7 +49,7 @@ use tower::Service; type BoxError = Box; -/// A `MakeService` adapater for [`H2c`] that injects connection +/// A `MakeService` adapter for [`H2c`] that injects connection /// info into the request extensions. #[derive(Debug, Clone)] pub struct H2cMaker { @@ -92,7 +92,7 @@ where } /// A service that can perform `h2c` upgrades and will -/// delegate calls to the inner service once a protocl +/// delegate calls to the inner service once a protocol /// has been selected. #[derive(Debug, Clone)] pub struct H2c {