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

update doc strings

This commit is contained in:
Nikolay Kim
2019-12-10 21:11:39 +06:00
parent 1d810b4561
commit 7163e2c2a2
8 changed files with 185 additions and 9 deletions

View File

@@ -2,7 +2,10 @@ use std::marker::PhantomData;
use super::ServiceFactory;
/// Adapt external config to a config for provided new service
/// Adapt external config argument to a config for provided service factory
///
/// Note that this function consumes the receiving service factory and returns
/// a wrapped version of it.
pub fn map_config<T, F, C>(factory: T, f: F) -> MapConfig<T, F, C>
where
T: ServiceFactory,