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
|
.attrs
|
||||||
.iter()
|
.iter()
|
||||||
.find(|attribute| {
|
.find(|attribute| {
|
||||||
let segments = &attribute.path.segments;
|
let segments = &attribute.path().segments;
|
||||||
|
|
||||||
if segments.len() < 1 {
|
if segments.len() < 1 {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue