Address new linter warning (MISMATCHED_LIFETIME_SYNTAXES)
Generated code causes linter warning starting from rust 1.89 Change-Id: Ic6dab006dd76d82a505b5e291fca19fb1f970b6a Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
This commit is contained in:
1 changed files with 1 additions and 1 deletions
@@ -165,7 +165,7 @@ impl RestEndpoint for Request{{ "<'_>" if type_manager.get_request_static_lifeti
{{ macros.sdk_build_url(url, type_manager.parameters, "", true) }}.into()
}
fn parameters(&self) -> QueryParams {
fn parameters(&self) -> QueryParams<'_> {
{%- if type_manager.parameters.values()|selectattr("location", "equalto", "query")|list|length > 0 %}
let mut params = QueryParams::default();
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.