remove unused methods

This commit is contained in:
Mathieu David 2017-06-04 19:48:41 +02:00
parent 23efa9e146
commit 1a8e54bb52
1 changed files with 7 additions and 17 deletions

View File

@ -438,16 +438,6 @@ impl MDBook {
self.config.get_title() self.config.get_title()
} }
/*
pub fn set_author(mut self, author: &str) -> Self {
self.author = author.to_owned();
self
}
pub fn get_author(&self) -> &str {
&self.author
}
*/
pub fn with_description<T: Into<String>>(mut self, description: T) -> Self { pub fn with_description<T: Into<String>>(mut self, description: T) -> Self {
self.config.set_description(description); self.config.set_description(description);
self self