Skip to content

Commit

Permalink
Improve documentation of axum::extract::Path (#2313)
Browse files Browse the repository at this point in the history
  • Loading branch information
uckelman committed Nov 13, 2023
1 parent 80aad89 commit 1847dd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions axum/src/extract/path/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ use std::{fmt, sync::Arc};
///
/// These examples assume the `serde` feature of the [`uuid`] crate is enabled.
///
/// One `Path` argument extracts _all_ captures into a tuple. A function should
/// not have multiple `Path` arguments---the first will extract all captures
/// and subsequent ones will do nothing.
/// 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
///
Expand Down

0 comments on commit 1847dd9

Please sign in to comment.