mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 09:58:27 +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 {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
if let Some(op) = self.operations.last() {
|
||||
op.fmt(f)
|
||||
} else {
|
||||
write!(f, "empty operations log")
|
||||
}
|
||||
write!(f, "shape")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user