Moved user_provided_filename to be contained within OrdinaryFile struct

This commit is contained in:
Kyle Criddle authored and David Peter committed 2020-04-21 08:57:15 +02:00
1 parent a3f8140fbe
commit 04fa84aea7
9 files changed
+143 -127

No files matched your search

+3 -3
View File
@@ -1,4 +1,5 @@
pub use crate::inputfile::InputFile;
pub use crate::inputfile::OrdinaryFile;
pub use crate::line_range::{HighlightedLineRanges, LineRange, LineRanges};
pub use crate::style::{StyleComponent, StyleComponents};
pub use crate::syntax_mapping::{MappingTarget, SyntaxMapping};
@@ -73,9 +74,8 @@ pub struct Config<'a> {
/// Ranges of lines which should be highlighted with a special background color
pub highlighted_lines: HighlightedLineRanges,
/// Names of files to display when printing
pub filenames: Option<Vec<&'a str>>,
///// Names of files to display when printing
// pub filenames: Option<Vec<&'a str>>,
}
#[test]