Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
h2c: fix typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrabug committed Oct 13, 2023
1 parent 3d3114d commit b7c5a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqld/src/h2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ use tower::Service;

type BoxError = Box<dyn std::error::Error + Send + Sync>;

/// 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<S> {
Expand Down Expand Up @@ -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<S> {
Expand Down

0 comments on commit b7c5a14

Please sign in to comment.