Fix tidy error line longer than 100 chars

This commit is contained in:
Laurent Arnoud 2017-10-27 19:31:33 +02:00
parent 5773efab5c
commit cfc916ebf8
No known key found for this signature in database
GPG Key ID: A79DAB2374F95DD5

View File

@ -778,7 +778,9 @@ pub fn build_session_(sopts: config::Options,
let working_dir = match env::current_dir() {
Ok(dir) => dir.to_string_lossy().into_owned(),
Err(e) => panic!(p_s.span_diagnostic.fatal(&format!("Current directory is invalid: {}", e))),
Err(e) => {
panic!(p_s.span_diagnostic.fatal(&format!("Current directory is invalid: {}", e)))
}
};
let working_dir = file_path_mapping.map_prefix(working_dir);