Improve documentation of Path (#2314)

This commit is contained in:
Joel Uckelman 2023-11-18 12:37:39 +00:00 committed by GitHub
parent f7a0011ea5
commit 6e984b754a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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