zx: Fix a typo in the generator code
Though this kind of code is still accepted:
#[dbus_proxy(
interface = "org.freedesktop.IBus",
default_service = "org.freedesktop.IBus",
default_path = "/org/freedesktop/IBus"
)]
trait IBus {
//// PreloadEngines property
#[DBusProxy(property)]
fn set_preload_engines(&self, value: &[&str]) -> zbus::Result<()>;
}
As there is no error checking for potential typos in the proc macro. The proc macro only looks for #[dbus_proxy]
attributes inside the dbus_proxy
proc macro.