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:
committed by
David Peter
parent
b94c94e845
commit
a21ae614e6
+9
-9
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user