1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-09-02 01:41:55 +02:00

fix doc error (#195)

This commit is contained in:
nujz
2020-09-19 22:12:41 +08:00
committed by GitHub
parent fb0aa02b3c
commit 98a2197a09
4 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ use std::task::{Context, Poll};
use super::{IntoService, IntoServiceFactory, Service, ServiceFactory};
/// Apply tranform function to a service.
/// Apply transform function to a service.
pub fn apply_fn<T, F, R, In, Out, Err, U>(service: U, f: F) -> Apply<T, F, R, In, Out, Err>
where
T: Service<Error = Err>,
@@ -16,7 +16,7 @@ where
Apply::new(service.into_service(), f)
}
/// Service factory that prodices `apply_fn` service.
/// Service factory that produces `apply_fn` service.
pub fn apply_fn_factory<T, F, R, In, Out, Err, U>(
service: U,
f: F,