Skip to content

Commit 9bb8046

Browse files
jeckersbvrutkovs
authored andcommitted
Fix cargo fmt error
1 parent abb58c1 commit 9bb8046

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/v2/tags.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ fn parse_link(hdr: Option<&header::HeaderValue>) -> Option<String> {
109109
// Query parameters for next page URL.
110110
let uri = sval.trim_end_matches(">; rel=\"next\"");
111111
let query: Vec<&str> = uri.splitn(2, "?").collect();
112-
match query.get(1) { //use the entire query param string since some registries have different ways of pagination
113-
Some(v) if !v.is_empty() => Some(v.to_string()),
112+
match query.get(1) {
113+
//use the entire query param string since some registries have different ways of pagination
114+
Some(v) if !v.is_empty() => Some(v.to_string()),
114115
_ => None,
115116
}
116117
}

0 commit comments

Comments
 (0)