Migrated to Rust 2018

This commit is contained in:
Daniele Esposti authored and David Peter committed 2019-03-09 07:43:41 +01:00
1 parent b94c94e845
commit a21ae614e6
14 files changed
+49 -48

No files matched your search

+7 -7
View File
@@ -48,12 +48,12 @@ use std::process;
use ansi_term::Colour::Green;
use ansi_term::Style;
use app::{App, Config};
use assets::{cache_dir, clear_assets, config_dir, HighlightingAssets};
use config::config_file;
use controller::Controller;
use inputfile::InputFile;
use style::{OutputComponent, OutputComponents};
use crate::app::{App, Config};
use crate::assets::{cache_dir, clear_assets, config_dir, HighlightingAssets};
use crate::config::config_file;
use crate::controller::Controller;
use crate::inputfile::InputFile;
use crate::style::{OutputComponent, OutputComponents};
mod errors {
error_chain! {
@@ -80,7 +80,7 @@ mod errors {
}
}
use errors::*;
use crate::errors::*;
fn run_cache_subcommand(matches: &clap::ArgMatches) -> Result<()> {
if matches.is_present("build") {