Fix rustdoc warnings about invalid Rust syntax

This commit is contained in:
Camelid
2020-10-04 19:08:40 -07:00
parent a835b483fe
commit c877ff3664
5 changed files with 14 additions and 8 deletions

View File

@@ -659,7 +659,8 @@ pub fn write_allocations<'tcx>(
/// Dumps the size and metadata and content of an allocation to the given writer.
/// The expectation is that the caller first prints other relevant metadata, so the exact
/// format of this function is (*without* leading or trailing newline):
/// ```
///
/// ```text
/// size: {}, align: {}) {
/// <bytes>
/// }