Move to buffers throughout print_item

This commit is contained in:
Mark Rousskov 2019-08-31 15:47:55 -04:00
parent c1c1e86d5a
commit 02c5c5cb59
2 changed files with 375 additions and 428 deletions

View File

@ -872,9 +872,9 @@ impl fmt::Display for clean::Impl {
// The difference from above is that trait is not hyperlinked.
pub fn fmt_impl_for_trait_page(i: &clean::Impl,
f: &mut fmt::Formatter<'_>,
use_absolute: bool) -> fmt::Result {
fmt_impl(i, f, false, use_absolute)
f: &mut Buffer,
use_absolute: bool) {
f.with_formatter(|f| fmt_impl(i, f, false, use_absolute))
}
impl fmt::Display for clean::Arguments {

File diff suppressed because it is too large Load Diff