Merge branch 'master' of https://git.cscherr.de/PlexSheep/rs-basic
cargo devel CI / cargo CI (push) Successful in 3m18s Details

This commit is contained in:
Christoph J. Scherr 2024-06-27 13:50:13 +02:00
commit e87ae641f7
1 changed files with 5 additions and 1 deletions

View File

@ -52,7 +52,11 @@ impl Post {
impl Display for Post {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
writeln!(f, "\n{:<60} | published: {:<5}\n{:=^140}\n\n{}", self.title, self.published, "", self.body)
writeln!(
f,
"\n{:<60} | published: {:<5}\n{:=^140}\n\n{}",
self.title, self.published, "", self.body
)
}
}