Skip to content

Commit 3e81b45

Browse files
committed
derive: Use global scope in quote
1 parent 2803c8e commit 3e81b45

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

derive/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ pub fn row(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
5454

5555
let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl();
5656

57-
// TODO: replace `clickhouse` with `::clickhouse` here.
5857
let expanded = quote! {
5958
#[automatically_derived]
60-
impl #impl_generics clickhouse::Row for #name #ty_generics #where_clause {
59+
impl #impl_generics ::clickhouse::Row for #name #ty_generics #where_clause {
6160
const COLUMN_NAMES: &'static [&'static str] = #column_names;
6261
}
6362
};

0 commit comments

Comments
 (0)