[Fix]
Some checks failed
CI / rustfmt (push) Failing after 31s
CI / wasm build (push) Successful in 1m23s
CI / clippy (push) Failing after 1m44s
CI / example (push) Successful in 1m32s
CI / test (push) Successful in 2m6s
CI / duplicate code (push) Failing after 30s
CI / web client (push) Failing after 31s
CI / cargo-machete (push) Successful in 1m6s
CI / cargo-deny (push) Failing after 2m24s

This commit is contained in:
Alex Emmet 2026-06-28 03:46:04 +02:00
commit 41528ef717
6 changed files with 49 additions and 37 deletions

View file

@ -905,7 +905,7 @@ fn generate_all_types_methods(
write!(out, "CommunicationType::{}", entry.name).unwrap();
first = false;
}
for (name, _) in &tm_cfg.communication_types {
for name in tm_cfg.communication_types.keys() {
if !first {
write!(out, ", ").unwrap();
}
@ -936,7 +936,7 @@ fn generate_all_types_methods(
write!(out, "DataType::{}", entry.name).unwrap();
first = false;
}
for (name, _) in &tm_cfg.data_types {
for name in tm_cfg.data_types.keys() {
if !first {
write!(out, ", ").unwrap();
}
@ -973,7 +973,7 @@ fn generate_all_types_methods_single(out: &mut String, config: &Config) {
first = false;
}
if let Some(tm_cfg) = tm_cfg {
for (name, _) in &tm_cfg.communication_types {
for name in tm_cfg.communication_types.keys() {
if !first {
write!(out, ", ").unwrap();
}
@ -1003,7 +1003,7 @@ fn generate_all_types_methods_single(out: &mut String, config: &Config) {
first = false;
}
if let Some(tm_cfg) = tm_cfg {
for (name, _) in &tm_cfg.data_types {
for name in tm_cfg.data_types.keys() {
if !first {
write!(out, ", ").unwrap();
}