We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fd5508 commit f058f6eCopy full SHA for f058f6e
core/lib/src/request/from_param.rs
@@ -39,7 +39,7 @@ use crate::http::uri::{Segments, error::PathError, fmt::Path};
39
/// If `usize::from_param` returns an `Ok(usize)` variant, the encapsulated
40
/// value is used as the `id` function parameter. If not, the request is
41
/// forwarded to the next matching route. Since there are no additional matching
42
-/// routes, this example will result in a 404 error for requests with invalid
+/// routes, this example will result in a 422 error for requests with invalid
43
/// `id` values.
44
///
45
/// # Catching Errors
0 commit comments