mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 19:08:28 +00:00
Update how shape is rendered in list
This commit is contained in:
parent
ee0e50b5c7
commit
7257090783
@ -53,11 +53,7 @@ impl Shape {
|
|||||||
|
|
||||||
impl fmt::Display for Shape {
|
impl fmt::Display for Shape {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
if let Some(op) = self.operations.last() {
|
write!(f, "shape")
|
||||||
op.fmt(f)
|
|
||||||
} else {
|
|
||||||
write!(f, "empty operations log")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user