qemu/rust/qemu-api-macros
Paolo Bonzini 465a4b80e2 rust: qemu_api_macros: make pattern matching more readable and efficient
"let ... else" is useful when visiting syntax trees; it avoids multiple
levels of indentation and places the error close to the pattern.

While at it, use "ref" to avoid moving the syntax tree objects.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-05-06 16:02:04 +02:00
..
src rust: qemu_api_macros: make pattern matching more readable and efficient 2025-05-06 16:02:04 +02:00
Cargo.toml rust: centralize config in workspace root 2025-05-02 23:37:55 +02:00
meson.build rust: qemu-api-macros: always process subprojects before dependencies 2024-11-09 08:34:07 +01:00