FIx path access
This commit is contained in:
parent
1feb9bf694
commit
647fd8146e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ pub fn reprc_builder(item: TokenStream) -> TokenStream {
|
|||
.attrs
|
||||
.iter()
|
||||
.find(|attribute| {
|
||||
let segments = &attribute.path.segments;
|
||||
let segments = &attribute.path().segments;
|
||||
|
||||
if segments.len() < 1 {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue