mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 07:20:12 +01:00
Improve documentation of Path (#2314)
This commit is contained in:
parent
f7a0011ea5
commit
6e984b754a
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ use std::{fmt, sync::Arc};
|
|||
///
|
||||
/// These examples assume the `serde` feature of the [`uuid`] crate is enabled.
|
||||
///
|
||||
/// One `Path` can extract multiple captures. It is not necessary (and does
|
||||
/// not work) to give a handler more than one `Path` argument.
|
||||
///
|
||||
/// [`uuid`]: https://crates.io/crates/uuid
|
||||
///
|
||||
/// ```rust,no_run
|
||||
|
|
Loading…
Reference in a new issue