Do not use wildcard imports if not needed
This commit is contained in:
parent
fe62d0c407
commit
7799ce285e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue