Skip to content

Commit 222ea9c

Browse files
committed
Deser macros: fully qualified call to "Clone::clone()"
Macros need to use fully qualified paths in order to maintain hygiene.
1 parent d6520aa commit 222ea9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scylla-macros/src/deserialize/value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ impl TypeCheckAssumeOrderGenerator<'_> {
367367
required_fields: ::std::vec![
368368
#(stringify!(#required_fields_names),)*
369369
],
370-
present_fields: ::std::iter::Iterator::collect(::std::iter::Iterator::map(fields.iter(), |(name, _typ)| name.clone().into_owned())),
370+
present_fields: ::std::iter::Iterator::collect(::std::iter::Iterator::map(fields.iter(), |(name, _typ)| ::std::clone::Clone::clone(name).into_owned())),
371371
}
372372
);
373373

0 commit comments

Comments
 (0)