From: Wolfgang Bumiller Date: Sat, 8 Jun 2019 08:57:50 +0000 (+0200) Subject: router: add remaining missing ::proxmox::api:: prefixes X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3f7e4c0edafcc6c0870cc0e942cca7f597cc9b54;p=proxmox.git router: add remaining missing ::proxmox::api:: prefixes Signed-off-by: Wolfgang Bumiller --- 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));