diff --git a/src/v2/tags.rs b/src/v2/tags.rs index c112fec2..c70cb51f 100644 --- a/src/v2/tags.rs +++ b/src/v2/tags.rs @@ -109,8 +109,9 @@ fn parse_link(hdr: Option<&header::HeaderValue>) -> Option { // Query parameters for next page URL. let uri = sval.trim_end_matches(">; rel=\"next\""); let query: Vec<&str> = uri.splitn(2, "?").collect(); - match query.get(1) { //use the entire query param string since some registries have different ways of pagination - Some(v) if !v.is_empty() => Some(v.to_string()), + match query.get(1) { + //use the entire query param string since some registries have different ways of pagination + Some(v) if !v.is_empty() => Some(v.to_string()), _ => None, } }