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 3ff45d9 commit 80aad89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions axum/src/extract/path/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ 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.
///
/// [`uuid`]: https://crates.io/crates/uuid
///
/// ```rust,no_run
Expand Down

0 comments on commit 80aad89

Please sign in to comment.