mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
Use correct var for attribute completeness fn
This commit is contained in:
@@ -795,7 +795,7 @@ enum PartitionState {
|
||||
// If not, then we append the new line into the pending attribute to check
|
||||
// if this time it's complete...
|
||||
mod_attr_pending.push_str(line);
|
||||
if !trimline.is_empty() && check_if_attr_is_complete(line, edition) {
|
||||
if !trimline.is_empty() && check_if_attr_is_complete(&mod_attr_pending, edition) {
|
||||
// If it's complete, then we can clear the pending content.
|
||||
mod_attr_pending.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user