use single line comments

This commit is contained in:
Cengiz Can 2017-07-03 11:45:31 +03:00 committed by Cengiz Can
parent 0e18a9cd55
commit e1a91443cd
1 changed files with 3 additions and 7 deletions

View File

@ -344,17 +344,13 @@ pub trait CompilerCalls<'a> {
#[derive(Copy, Clone)]
pub struct RustcDefaultCalls;
/**
* TODO remove these and use winapi 0.3 instead
*
* These are duplicated in
* - bootstrap/compile.rs#L478
* - librustc_errors/emitter.rs#L1253
*/
// FIXME remove these and use winapi 0.3 instead
// Duplicates: bootstrap/compile.rs, librustc_errors/emitter.rs
#[cfg(unix)]
fn stdout_isatty() -> bool {
unsafe { libc::isatty(libc::STDOUT_FILENO) != 0 }
}
#[cfg(windows)]
fn stdout_isatty() -> bool {
type DWORD = u32;