Use correct var for attribute completeness fn
This commit is contained in:
parent
1851f0802e
commit
d61ab20ff0
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ fn partition_source(s: &str, edition: Edition) -> (String, String, String) {
|
|||
// 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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue