mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 11:04:21 +00:00
Use writeln!
instead of write!
to write a new line
This commit is contained in:
parent
58a4cc478f
commit
0cda38bb3d
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ impl TelegramWrite for DiarioEntry {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Newline
|
// Newline
|
||||||
write!(f, "\n")?;
|
writeln!(f)?;
|
||||||
|
|
||||||
// Quote optionally covered by a spoiler tag
|
// Quote optionally covered by a spoiler tag
|
||||||
match self.warning.to_owned() {
|
match self.warning.to_owned() {
|
||||||
|
@ -71,7 +71,7 @@ impl TelegramWrite for DiarioEntry {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Newline
|
// Newline
|
||||||
write!(f, "\n")?;
|
writeln!(f)?;
|
||||||
|
|
||||||
// Optional citation with optional context
|
// Optional citation with optional context
|
||||||
match (self.quoted_name.to_owned(), self.context.to_owned()) {
|
match (self.quoted_name.to_owned(), self.context.to_owned()) {
|
||||||
|
|
Loading…
Reference in a new issue