Function rustfmt_nightly::source_file::write_file
source · pub(crate) fn write_file<T>(
parse_sess: Option<&ParseSess>,
filename: &FileName,
formatted_text: &str,
out: &mut T,
emitter: &mut dyn Emitter,
newline_style: NewlineStyle
) -> Result<EmitterResult, Error>where
T: Write,