1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-09 19:51:48 +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
+9 -9
View File
@@ -5,7 +5,7 @@ use std::str::FromStr;
use atty::{self, Stream};
use clap::ArgMatches;
use clap_app;
use crate::clap_app;
use wild;
use console::Term;
@@ -13,14 +13,14 @@ use console::Term;
#[cfg(windows)]
use ansi_term;
use assets::BAT_THEME_DEFAULT;
use config::{get_args_from_config_file, get_args_from_env_var};
use errors::*;
use inputfile::InputFile;
use line_range::{LineRange, LineRanges};
use style::{OutputComponent, OutputComponents, OutputWrap};
use syntax_mapping::SyntaxMapping;
use util::transpose;
use crate::assets::BAT_THEME_DEFAULT;
use crate::config::{get_args_from_config_file, get_args_from_env_var};
use crate::errors::*;
use crate::inputfile::InputFile;
use crate::line_range::{LineRange, LineRanges};
use crate::style::{OutputComponent, OutputComponents, OutputWrap};
use crate::syntax_mapping::SyntaxMapping;
use crate::util::transpose;
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum PagingMode {