Simplify MDBook::iter doc
The original was a little awkward, and I'm not sure what the tuple syntax was intending to convey.
This commit is contained in:
parent
9229e80499
commit
b8a7b6e846
1 changed files with 1 additions and 3 deletions
|
|
@ -134,9 +134,7 @@ impl MDBook {
|
|||
})
|
||||
}
|
||||
|
||||
/// Returns a flat depth-first iterator over the elements of the book,
|
||||
/// it returns a [`BookItem`] enum:
|
||||
/// `(section: String, bookitem: &BookItem)`
|
||||
/// Returns a flat depth-first iterator over the [`BookItem`]s of the book.
|
||||
///
|
||||
/// ```no_run
|
||||
/// # use mdbook_driver::MDBook;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue