More docs

This commit is contained in:
David Pedersen
2021-06-07 16:28:40 +02:00
parent d8b0153939
commit d376e49eb9
6 changed files with 65 additions and 3 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
//! Routing between [`Service`]s.
use crate::{body::BoxBody, response::IntoResponse, ResultExt};
use bytes::Bytes;
use futures_util::{future, ready};
@@ -465,7 +467,7 @@ where
}
}
/// Nest a group of routes (or [`Service`]) at some path.
/// Nest a group of routes (or a [`Service`]) at some path.
///
/// This allows you to break your application into smaller pieces and compose
/// them together. This will strip the matching prefix from the URL so the