diff --git a/src/bin/build.rs b/src/bin/build.rs index c05353f9..1ee390a7 100644 --- a/src/bin/build.rs +++ b/src/bin/build.rs @@ -1,6 +1,6 @@ use clap::{ArgMatches, SubCommand, App}; use mdbook::MDBook; -use mdbook::errors::*; +use mdbook::errors::Result; use {get_book_dir, open}; // Build command implementation diff --git a/src/bin/init.rs b/src/bin/init.rs index 75905d42..5a445b9f 100644 --- a/src/bin/init.rs +++ b/src/bin/init.rs @@ -2,7 +2,7 @@ use std::io; use std::io::Write; use clap::{ArgMatches, SubCommand, App}; use mdbook::MDBook; -use mdbook::errors::*; +use mdbook::errors::Result; use get_book_dir; // Init command implementation diff --git a/src/bin/serve.rs b/src/bin/serve.rs index 9dabfcc6..cc4eb8f1 100644 --- a/src/bin/serve.rs +++ b/src/bin/serve.rs @@ -7,7 +7,7 @@ use std::path::Path; use self::iron::{Iron, AfterMiddleware, IronResult, IronError, Request, Response, status, Set, Chain}; use clap::{ArgMatches, SubCommand, App}; use mdbook::MDBook; -use mdbook::errors::*; +use mdbook::errors::Result; use {get_book_dir, open}; #[cfg(feature = "watch")] use watch; diff --git a/src/bin/test.rs b/src/bin/test.rs index 734e93f4..77648bac 100644 --- a/src/bin/test.rs +++ b/src/bin/test.rs @@ -1,6 +1,6 @@ use clap::{ArgMatches, SubCommand, App}; use mdbook::MDBook; -use mdbook::errors::*; +use mdbook::errors::Result; use get_book_dir; // test command implementation diff --git a/src/bin/watch.rs b/src/bin/watch.rs index b9702d60..3a965d1d 100644 --- a/src/bin/watch.rs +++ b/src/bin/watch.rs @@ -8,7 +8,7 @@ use std::time::Duration; use std::sync::mpsc::channel; use clap::{ArgMatches, SubCommand, App}; use mdbook::MDBook; -use mdbook::errors::*; +use mdbook::errors::Result; use {get_book_dir, open}; // Watch command implementation