1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-11 20:11:43 +00:00

Migrated to Rust 2018

This commit is contained in:
Daniele Esposti
2019-03-08 10:48:22 +00:00
committed by David Peter
parent b94c94e845
commit a21ae614e6
14 changed files with 49 additions and 48 deletions
+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") {