We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6055f38 commit 4fc85b1Copy full SHA for 4fc85b1
syn/src/data.rs
@@ -227,8 +227,8 @@ impl From<syn::VisRestricted> for Scope {
227
impl DataType {
228
pub fn derive<D: DeriveInner>(
229
&self,
230
- trait_crate: Path,
231
- trait_name: Ident,
+ trait_crate: &Path,
+ trait_name: &Ident,
232
attr: &D,
233
) -> syn::Result<TokenStream2> {
234
let (impl_generics, ty_generics, where_clause) = self.generics.split_for_impl();
0 commit comments