about summary refs log tree commit diff
path: root/src/librustdoc/html/render/mod.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-07-18 21:06:54 -0400
committerTrevor Gross <tmgross@umich.edu>2024-07-26 13:37:20 -0400
commitcc9da0b2ce36aea494760db78714dc98739949ef (patch)
treec78df9370a425a3a79397cbd0b0483ce3a7f5384 /src/librustdoc/html/render/mod.rs
parent2d5a628a1de1d38318909a710ef37da6251e362e (diff)
downloadrust-cc9da0b2ce36aea494760db78714dc98739949ef.tar.gz
rust-cc9da0b2ce36aea494760db78714dc98739949ef.zip
Always set `result` during `finish()` in debug builders
Most functions for format builders set `self.result` after writing
strings. This ensures that any further writing fails immediately rather
than trying to write again.

A few `.finish()` methods did have this same behavior, so make it
consistent here.
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
0 files changed, 0 insertions, 0 deletions