Skip to content

Commit d1be642

Browse files
committed
Auto merge of #109925 - notriddle:notriddle/item-union, r=GuillaumeGomez
rustdoc: migrate item_union to an Askama template
2 parents af06dce + c325fda commit d1be642

File tree

5 files changed

+595
-476
lines changed

5 files changed

+595
-476
lines changed

src/librustdoc/html/format.rs

-4
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ impl Buffer {
136136
self.into_inner()
137137
}
138138

139-
pub(crate) fn is_for_html(&self) -> bool {
140-
self.for_html
141-
}
142-
143139
pub(crate) fn reserve(&mut self, additional: usize) {
144140
self.buffer.reserve(additional)
145141
}

0 commit comments

Comments
 (0)