diff options
| author | Trevor Gross <tmgross@umich.edu> | 2024-07-18 21:06:54 -0400 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2024-07-26 13:37:20 -0400 |
| commit | cc9da0b2ce36aea494760db78714dc98739949ef (patch) | |
| tree | c78df9370a425a3a79397cbd0b0483ce3a7f5384 /src/librustdoc/html/render/mod.rs | |
| parent | 2d5a628a1de1d38318909a710ef37da6251e362e (diff) | |
| download | rust-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
