Skip to content

Commit 09ca1a7

Browse files
committed
prepare for 26.4.0
1 parent 11abd9c commit 09ca1a7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ rc-map = ["serde/rc"]
2323
rc-str = ["serde/rc"]
2424
rc-val = ["serde/rc"]
2525
rc-vec = ["serde/rc"]
26-
tags-all = ["tag-attack-detection", "tag-authentication-management", "tag-client-attribute-certificate", "tag-client-initial-access", "tag-client-registration-policy", "tag-client-role-mappings", "tag-client-scopes", "tag-clients", "tag-component", "tag-groups", "tag-identity-providers", "tag-key", "tag-organizations", "tag-protocol-mappers", "tag-realms-admin", "tag-role-mapper", "tag-roles", "tag-roles-by-id", "tag-scope-mappings", "tag-users", "tag-none"]
26+
tags-all = ["tag-attack-detection", "tag-authentication-management", "tag-client-attribute-certificate", "tag-client-initial-access", "tag-client-registration-policy", "tag-client-role-mappings", "tag-client-scopes", "tag-clients", "tag-component", "tag-groups", "tag-identity-providers", "tag-key", "tag-organizations", "tag-protocol-mappers", "tag-realms-admin", "tag-role-mapper", "tag-roles", "tag-roles-by-id", "tag-scope-mappings", "tag-users", "tag-workflow-steps", "tag-none"]
2727
tag-attack-detection = []
2828
tag-authentication-management = []
2929
tag-client-attribute-certificate = []
@@ -44,6 +44,7 @@ tag-roles = []
4444
tag-roles-by-id = []
4545
tag-scope-mappings = []
4646
tag-users = []
47+
tag-workflow-steps = []
4748
tag-none = []
4849
resource = []
4950
builder = []

examples/openapi.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ mod openapi {
267267
}
268268

269269
impl ContentSchema {
270-
fn to_rust_parameter_body_type(&self) -> Cow<str> {
270+
fn to_rust_parameter_body_type(&self) -> Cow<'_, str> {
271271
self.schema.to_rust_type_ref(RefMode::Std)
272272
}
273273

274-
fn to_rust_return_type(&self) -> Cow<str> {
274+
fn to_rust_return_type(&self) -> Cow<'_, str> {
275275
self.schema.to_rust_type_ref(RefMode::Owned)
276276
}
277277

@@ -1105,7 +1105,7 @@ pub struct {name} {{
11051105
}
11061106

11071107
impl SchemaStruct<Kind> {
1108-
fn to_rust_type(&self, ref_mode: RefMode) -> Cow<str> {
1108+
fn to_rust_type(&self, ref_mode: RefMode) -> Cow<'_, str> {
11091109
let property_types: HashSet<&Kind> = self.properties.values().collect();
11101110
let property_type = match property_types.into_iter().collect::<Vec<_>>().as_slice() {
11111111
&[property_type_kind] => property_type_kind.to_rust_type(ref_mode),

0 commit comments

Comments
 (0)