Skip to content

Commit

Permalink
Changed modules & visitor mods to public, set filemap::write_file public
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJCampbell committed May 6, 2016
1 parent 47631e2 commit 4a2db3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/filemap.rs
Expand Up @@ -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
{

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 4a2db3e

Please sign in to comment.