Fix std::write benchmark

This commit is contained in:
Kogia-sima 2020-06-13 14:24:36 +09:00
parent 8a83c2e278
commit 9949c91f7d
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ pub fn big_table(b: &mut criterion::Bencher<'_>, size: &usize) {
write!(&mut output, "</tr>\n").unwrap();
}
write!(&mut output, "</table>").unwrap();
output
});
}
@ -80,6 +81,7 @@ pub fn teams(b: &mut criterion::Bencher<'_>, _: &usize) {
</html>"
)
.unwrap();
output
});
}