Changed modules & visitor mods to public, set filemap::write_file public

This commit is contained in:
Daniel Campbell 2016-05-06 12:20:38 +12:00
parent 47631e2a5c
commit 4a2db3ec6c
2 changed files with 7 additions and 7 deletions

View file

@ -80,11 +80,11 @@ pub fn write_system_newlines<T>(writer: T,
}
}
fn write_file<T>(text: &StringBuffer,
filename: &str,
out: &mut T,
config: &Config)
-> Result<Option<String>, io::Error>
pub fn write_file<T>(text: &StringBuffer,
filename: &str,
out: &mut T,
config: &Config)
-> Result<Option<String>, io::Error>
where T: Write
{

View file

@ -49,7 +49,7 @@ pub use self::summary::Summary;
mod utils;
pub mod config;
pub mod filemap;
mod visitor;
pub mod visitor;
mod checkstyle;
mod items;
mod missed_spans;
@ -61,7 +61,7 @@ mod issues;
mod rewrite;
mod string;
mod comment;
mod modules;
pub mod modules;
pub mod rustfmt_diff;
mod chains;
mod macros;