mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-09-04 11:15:41 +00:00
fix typo (#1402)
found by [typos](https://github.com/crate-ci/typos) Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1402 Co-authored-by: Jul Lang <jullanggit@proton.me> Co-committed-by: Jul Lang <jullanggit@proton.me>
This commit is contained in:
@@ -164,7 +164,7 @@ macro_rules! router_match {
|
|||||||
$query.$param.take().map(|param| param.into_owned())
|
$query.$param.take().map(|param| param.into_owned())
|
||||||
}};
|
}};
|
||||||
(@@parse_param $query:expr, query, $param:ident) => {{
|
(@@parse_param $query:expr, query, $param:ident) => {{
|
||||||
// extract mendatory query parameter
|
// extract mandatory query parameter
|
||||||
$query.$param.take()
|
$query.$param.take()
|
||||||
.ok_or_bad_request(
|
.ok_or_bad_request(
|
||||||
format!("Missing argument `{}` for endpoint", stringify!($param))
|
format!("Missing argument `{}` for endpoint", stringify!($param))
|
||||||
|
|||||||
Reference in New Issue
Block a user