Closed yyny closed 2 months ago
What this is hiding is that this isn't DocumentMut::decor_mut
but Table::decor_mut
that is being accessed due to a convenience Deref
.
I don't think I'm against this. I'm also curious about collapsing trailing
into the suffix. I'm not sure why that wasn't done before.
We did run into the same issue today (what a coincidence). For now we only wanted to add a document wide header and probably going to resort to prepending it to the first item in the document, though adding it to the document directly would definitely be more ergonomic.
Example
Expected
Actual