Update build_process.rs

This commit is contained in:
Dylan DPC 2019-05-03 20:00:43 +02:00 committed by GitHub
parent 7e26a8430d
commit 5726a8afd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ fn mdbook_runs_preprocessors() {
let cfg = Config::default(); let cfg = Config::default();
let mut book = MDBook::load_with_config(temp.path(), cfg).unwrap(); let mut book = MDBook::load_with_config(temp.path(), cfg).unwrap();
book.with_preprecessor(Spy(Arc::clone(&spy))); book.with_preprocessor(Spy(Arc::clone(&spy)));
book.build().unwrap(); book.build().unwrap();
let inner = spy.lock().unwrap(); let inner = spy.lock().unwrap();