diff options
Diffstat (limited to 'src/check.rs')
-rw-r--r-- | src/check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check.rs b/src/check.rs index 39a23e5..05c0b20 100644 --- a/src/check.rs +++ b/src/check.rs @@ -62,7 +62,7 @@ where fn remove_unsorted_attr(attrs: &mut Vec<Attribute>) -> bool { for i in 0..attrs.len() { - let path = &attrs[i].path; + let path = &attrs[i].path(); let path = quote!(#path).to_string(); if path == "unsorted" || path == "remain :: unsorted" { attrs.remove(i); |