From 9bb804686a07462d05955f75b7603a7e4e66bcc0 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Thu, 1 Jun 2023 10:31:41 -0400 Subject: [PATCH] Fix cargo fmt error --- src/v2/tags.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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, } }