summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2021-01-13 14:26:14 -0800
committerEric Huss <eric@huss.org>2021-01-13 14:26:14 -0800
commitcdea0f6b61aa4cb4ae045926d6b57822e1ccb5ce (patch)
tree8cbc9b74c2ea3a541d45b574dbf30ac6646f02ce
parente9b0be7090fcb9efaa163161324caf7eced5c716 (diff)
Add missing parenthesis in doc comment.
-rw-r--r--src/book/book.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/book/book.rs b/src/book/book.rs
index c47ed632..95382960 100644
--- a/src/book/book.rs
+++ b/src/book/book.rs
@@ -182,7 +182,7 @@ impl Chapter {
}
/// Create a new draft chapter that is not attached to a source markdown file (and thus
- /// has no content.
+ /// has no content).
pub fn new_draft(name: &str, parent_names: Vec<String>) -> Self {
Chapter {
name: name.to_string(),