mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-25 12:34:19 +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
|
||||
write!(f, "\n")?;
|
||||
writeln!(f)?;
|
||||
|
||||
// Quote optionally covered by a spoiler tag
|
||||
match self.warning.to_owned() {
|
||||
|
@ -71,7 +71,7 @@ impl TelegramWrite for DiarioEntry {
|
|||
}
|
||||
|
||||
// Newline
|
||||
write!(f, "\n")?;
|
||||
writeln!(f)?;
|
||||
|
||||
// Optional citation with optional context
|
||||
match (self.quoted_name.to_owned(), self.context.to_owned()) {
|
||||
|
|
Loading…
Reference in a new issue