Merge branch 'master' of https://git.cscherr.de/PlexSheep/rs-basic
cargo devel CI / cargo CI (push) Successful in 3m18s
Details
cargo devel CI / cargo CI (push) Successful in 3m18s
Details
This commit is contained in:
commit
e87ae641f7
|
@ -52,7 +52,11 @@ impl Post {
|
||||||
|
|
||||||
impl Display for Post {
|
impl Display for Post {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
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
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue