mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
Grammar: Fix "it's" vs "its" in several places (#2518)
This commit is contained in:
+1
-1
@@ -4,4 +4,4 @@ This folder contains numerous examples showing how to use axum. Each example is
|
||||
setup as its own crate so its dependencies are clear.
|
||||
|
||||
For a list of what the community built with axum, please see the list
|
||||
[here](../ECOSYSTEM.md).
|
||||
[here](../ECOSYSTEM.md).
|
||||
|
||||
@@ -73,7 +73,7 @@ async fn main() {
|
||||
// `TokioIo` converts between them.
|
||||
let stream = TokioIo::new(tls_stream);
|
||||
|
||||
// Hyper has also its own `Service` trait and doesn't use tower. We can use
|
||||
// Hyper also has its own `Service` trait and doesn't use tower. We can use
|
||||
// `hyper::service::service_fn` to create a hyper `Service` that calls our app through
|
||||
// `tower::Service::call`.
|
||||
let hyper_service = hyper::service::service_fn(move |request: Request<Incoming>| {
|
||||
|
||||
@@ -68,7 +68,7 @@ async fn main() {
|
||||
// `TokioIo` converts between them.
|
||||
let stream = TokioIo::new(stream);
|
||||
|
||||
// Hyper has also its own `Service` trait and doesn't use tower. We can use
|
||||
// Hyper also has its own `Service` trait and doesn't use tower. We can use
|
||||
// `hyper::service::service_fn` to create a hyper `Service` that calls our app through
|
||||
// `tower::Service::call`.
|
||||
let hyper_service = hyper::service::service_fn(move |request: Request<Incoming>| {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//!
|
||||
//! This example shows how to run axum using hyper's low level API.
|
||||
//!
|
||||
//! The [hyper-util] crate exists to provide high level utilities but its still in early stages of
|
||||
//! The [hyper-util] crate exists to provide high level utilities but it's still in early stages of
|
||||
//! development.
|
||||
//!
|
||||
//! [hyper-util]: https://crates.io/crates/hyper-util
|
||||
|
||||
Reference in New Issue
Block a user