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:
Artem Goncharov
2025年08月11日 16:19:17 +02:00
parent 76fcfb776f
commit fefe9f26a0

View File

@@ -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
openstack/codegenerator
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.

The note is not visible to the blocked user.