mirror of https://github.com/rwf2/Rocket.git
parent
8224a1592f
commit
8d779caa22
|
@ -87,11 +87,11 @@ impl Route {
|
||||||
/// # Ranking
|
/// # Ranking
|
||||||
///
|
///
|
||||||
/// The route's rank is set so that routes with static paths (no dynamic
|
/// The route's rank is set so that routes with static paths (no dynamic
|
||||||
/// parameters) are ranked higher than routes with dynamic paths, routes
|
/// parameters) have lower ranks (higher precedence) than routes with
|
||||||
/// with query strings with static segments are ranked higher than routes
|
/// dynamic paths, routes with query strings with static segments have lower
|
||||||
/// with fully dynamic queries, and routes with queries are ranked higher
|
/// ranks than routes with fully dynamic queries, and routes with queries
|
||||||
/// than routes without queries. This default ranking is summarized by the
|
/// have lower ranks than routes without queries. This default ranking is
|
||||||
/// table below:
|
/// summarized by the table below:
|
||||||
///
|
///
|
||||||
/// | static path | query | rank |
|
/// | static path | query | rank |
|
||||||
/// |-------------|---------------|------|
|
/// |-------------|---------------|------|
|
||||||
|
|
Loading…
Reference in New Issue