Skip to content

Commit

Permalink
Fixed custom debug implementation derive.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Oct 17, 2018
1 parent f1abbef commit 7349fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ fn format_with(
proc_macro2::Span::call_site(),
)));

let path = parse_quote!(#ty.ident);
let path = syn::Path::from(syn::PathSegment::from(ty.ident.clone()));

syn::WherePredicate::Type(syn::PredicateType {
lifetimes: None,
Expand Down

0 comments on commit 7349fc4

Please sign in to comment.