Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Canop committed May 28, 2021
1 parent f19b772 commit 9891379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you still think you might use Minimad directly (not through Temimad), you may

```toml
[dependencies]
minimad = "0.5"
minimad = "0.7"
```

```rust
Expand Down
4 changes: 1 addition & 3 deletions src/text_template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,9 +515,7 @@ impl<'s, 'b> TextTemplateExpander<'s, 'b> {
if !self.lines_to_exclude[idx] {
lines.push(line);
}
for line in self.lines_to_add[idx].drain(..) {
lines.push(line);
}
lines.append(&mut self.lines_to_add[idx]);
}
Text { lines }
}
Expand Down

0 comments on commit 9891379

Please sign in to comment.