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