rustc: doc comments
This commit is contained in:
parent
0b7af2668a
commit
c3e182cf43
343 changed files with 2260 additions and 2241 deletions
|
@ -58,7 +58,7 @@ impl TocBuilder {
|
|||
}
|
||||
|
||||
|
||||
/// Convert into a true `Toc` struct.
|
||||
/// Converts into a true `Toc` struct.
|
||||
pub fn into_toc(mut self) -> Toc {
|
||||
// we know all levels are >= 1.
|
||||
self.fold_until(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue