We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69161c commit d664618Copy full SHA for d664618
src/book/book.rs
@@ -4,6 +4,7 @@ use book::chapter::Chapter;
4
5
/// The `Book` struct contains the metadata and chapters for one language of the book.
6
/// Multiple `Book` structs are combined in the `MDBook` struct to support multi-language books.
7
+#[derive(Debug, Clone)]
8
pub struct Book {
9
metadata: BookMetadata,
10
src/book/chapter.rs
@@ -2,6 +2,7 @@ use std::path;
2
3
/// The Chapter struct holds the title of the chapter as written in the SUMMARY.md file,
/// the location of the markdown file containing the content and eventually sub-chapters
pub struct Chapter {
title: String,
file: path::PathBuf,
0 commit comments