on master help sign in
Rename wrap => wrapping
commita8f759c0809fab3839c01e83440700740601f246 authorsharkdp <davidpeter@web.de> dateWed 22 Apr 2020, 20:34 (7 years ago) parentf034be7
4 files changed+4−4
src/config.rs+1−1 src/lib.rs+2−2 src/printer.rs+1−1 src/wrap.rs → src/wrapping.rs
src/config.rs+1−1
@@ -1,7 +1,7 @@
11use crate::line_range::{HighlightedLineRanges, LineRanges};
22use crate::style::StyleComponents;
33use crate::syntax_mapping::SyntaxMapping;
4−use crate::wrap::WrappingMode;
4+use crate::wrapping::WrappingMode;
55
66#[derive(Debug, Clone, Copy, PartialEq)]
77#[cfg(feature = "paging")]
src/lib.rs+2−2
@@ -35,10 +35,10 @@ pub(crate) mod printer;
3535pub(crate) mod style;
3636pub(crate) mod syntax_mapping;
3737mod terminal;
38−pub(crate) mod wrap;
38+pub(crate) mod wrapping;
3939
4040pub use line_range::LineRange;
4141pub use pretty_printer::PrettyPrinter;
4242pub use style::{StyleComponent, StyleComponents};
4343pub use syntax_mapping::{MappingTarget, SyntaxMapping};
44−pub use wrap::WrappingMode;
44+pub use wrapping::WrappingMode;
src/printer.rs+1−1
@@ -30,7 +30,7 @@ use crate::input::{OpenedInput, OpenedInputKind};
3030use crate::line_range::RangeCheckResult;
3131use crate::preprocessor::{expand_tabs, replace_nonprintable};
3232use crate::terminal::{as_terminal_escaped, to_ansi_color};
33−use crate::wrap::WrappingMode;
33+use crate::wrapping::WrappingMode;
3434
3535pub(crate) trait Printer {
3636 fn print_header(&mut self, handle: &mut dyn Write, input: &OpenedInput) -> Result<()>;
src/wrap.rs → src/wrapping.rsrenamed

The content is the same.