We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb58c1 commit 9bb8046Copy full SHA for 9bb8046
src/v2/tags.rs
@@ -109,8 +109,9 @@ fn parse_link(hdr: Option<&header::HeaderValue>) -> Option<String> {
109
// Query parameters for next page URL.
110
let uri = sval.trim_end_matches(">; rel=\"next\"");
111
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()),
+ match query.get(1) {
+ //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()),
115
_ => None,
116
}
117
0 commit comments