Skip to content

Commit e1a9144

Browse files
Cengiz Cancengiz-io
Cengiz Can
authored andcommitted
use single line comments
1 parent 0e18a9c commit e1a9144

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/librustc_driver/lib.rs

+3-7
Original file line numberDiff line numberDiff line change
@@ -344,17 +344,13 @@ pub trait CompilerCalls<'a> {
344344
#[derive(Copy, Clone)]
345345
pub struct RustcDefaultCalls;
346346

347-
/**
348-
* TODO remove these and use winapi 0.3 instead
349-
*
350-
* These are duplicated in
351-
* - bootstrap/compile.rs#L478
352-
* - librustc_errors/emitter.rs#L1253
353-
*/
347+
// FIXME remove these and use winapi 0.3 instead
348+
// Duplicates: bootstrap/compile.rs, librustc_errors/emitter.rs
354349
#[cfg(unix)]
355350
fn stdout_isatty() -> bool {
356351
unsafe { libc::isatty(libc::STDOUT_FILENO) != 0 }
357352
}
353+
358354
#[cfg(windows)]
359355
fn stdout_isatty() -> bool {
360356
type DWORD = u32;

0 commit comments

Comments
 (0)