diff --git a/rust-dlopen-derive/src/api.rs b/rust-dlopen-derive/src/api.rs index 5705af3..5f644d2 100644 --- a/rust-dlopen-derive/src/api.rs +++ b/rust-dlopen-derive/src/api.rs @@ -33,8 +33,8 @@ fn field_to_tokens(field: &Field) -> quote::Tokens { let raw_result = lib.ptr_or_null_cstr::<()>( ::std::ffi::CStr::from_bytes_with_nul_unchecked(concat!(#symbol_name, "\0").as_bytes()) ); - dlopen::symbor::FromRawResult::from_raw_result(raw_result)? + ::dlopen::symbor::FromRawResult::from_raw_result(raw_result)? } } -} \ No newline at end of file +}