From 7e26a8430d0bdff1653e6747a3aad713db702834 Mon Sep 17 00:00:00 2001 From: Dylan DPC Date: Fri, 3 May 2019 19:59:58 +0200 Subject: [PATCH] Update mod.rs --- src/book/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/book/mod.rs b/src/book/mod.rs index 5bd2b194..9a413759 100644 --- a/src/book/mod.rs +++ b/src/book/mod.rs @@ -241,7 +241,7 @@ impl MDBook { } /// Register a [`Preprocessor`](../preprocess/trait.Preprocessor.html) to be used when rendering the book. - pub fn with_preprecessor(&mut self, preprocessor: P) -> &mut Self { + pub fn with_preprocessor(&mut self, preprocessor: P) -> &mut Self { self.preprocessors.push(Box::new(preprocessor)); self }