FIx path access

This commit is contained in:
hodasemi 2023-03-22 20:05:43 +01:00
parent 1feb9bf694
commit 647fd8146e

View file

@ -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;