Fix a few doc comment for compiler-interal API docs.
They only used `//` instead of `///` so weren't picked up by rustdoc.
This commit is contained in:
parent
11dd90f761
commit
f763d62149
2 changed files with 11 additions and 11 deletions
|
@ -33,16 +33,16 @@ use std::fmt;
|
|||
/// as it would allow running a destructor on a place behind a reference:
|
||||
///
|
||||
/// ```text
|
||||
// fn drop_term<T>(t: &mut T) {
|
||||
// mir! {
|
||||
// {
|
||||
// Drop(*t, exit)
|
||||
// }
|
||||
// exit = {
|
||||
// Return()
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
/// fn drop_term<T>(t: &mut T) {
|
||||
/// mir! {
|
||||
/// {
|
||||
/// Drop(*t, exit)
|
||||
/// }
|
||||
/// exit = {
|
||||
/// Return()
|
||||
/// }
|
||||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
pub struct ElaborateDrops;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue