From 3f7e4c0edafcc6c0870cc0e942cca7f597cc9b54 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sat, 8 Jun 2019 10:57:50 +0200 Subject: [PATCH] router: add remaining missing ::proxmox::api:: prefixes Signed-off-by: Wolfgang Bumiller --- proxmox-api-macro/src/router_macro.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/proxmox-api-macro/src/router_macro.rs b/proxmox-api-macro/src/router_macro.rs index aa6c7131..034db0ff 100644 --- a/proxmox-api-macro/src/router_macro.rs +++ b/proxmox-api-macro/src/router_macro.rs @@ -197,10 +197,13 @@ impl Router { quote! { #[allow(non_camel_case_types)] - struct #type_name(std::cell::Cell>, std::sync::Once); + struct #type_name( + std::cell::Cell>, + std::sync::Once, + ); unsafe impl Sync for #type_name {} impl std::ops::Deref for #type_name { - type Target = Router; + type Target = ::proxmox::api::Router; fn deref(&self) -> &Self::Target { self.1.call_once(|| unsafe { self.0.set(Some(#router_expression));