summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Grunert <Sascha.Grunert@rohde-schwarz.com>2016-10-08 13:39:02 +0200
committerSascha Grunert <Sascha.Grunert@rohde-schwarz.com>2016-10-08 13:39:02 +0200
commit2bfbbb06239a26814da849a63939202200ac21c0 (patch)
tree6e8040f5e6457fe70653f3a6b101d15dd847afd5
parent7bd42318c39dda817cb10fb8603540dac50bb0d2 (diff)
Improved header printing by adding an additional newline0.7.0
-rw-r--r--src/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 94032f1..1bfa8fe 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -239,8 +239,8 @@ impl ParsedTag {
}
if let Some(&Value::String(ref header)) = header_table.get(TOML_TEXT_KEY) {
if (index_len.0 == 0 || !print_once) && !header.is_empty() {
- tryw!(term, "\n{}", header);
- tryw!(vec, "\n{}", header);
+ trywln!(term, "\n{}", header);
+ trywln!(vec, "\n{}", header);
}
}
}