1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-03-31 11:49:55 +02:00

Remove out of date docs

These accidentally weren't removed in https://github.com/tokio-rs/axum/pull/790
This commit is contained in:
David Pedersen 2022-03-01 14:09:30 +01:00
parent 2de202da40
commit bad3abb960

View file

@ -88,8 +88,6 @@ use http::Uri;
/// things, create links to known paths and have them verified statically. Note that the
/// [`Display`] implementation for each field must return something that's compatible with its
/// [`Deserialize`] implementation.
/// - A [`TryFrom<_> for Uri`](std::convert::TryFrom) implementation to converting your paths into
/// [`Uri`](axum::http::Uri).
///
/// Additionally the macro will verify the captures in the path matches the fields of the struct.
/// For example this fails to compile since the struct doesn't have a `team_id` field: