diff options
| author | Cengiz Can <cengizIO@users.noreply.github.com> | 2017-07-03 11:45:31 +0300 |
|---|---|---|
| committer | Cengiz Can <cengizc@gmail.com> | 2017-07-03 14:13:02 +0300 |
| commit | e1a91443cdd78101b0c96c84848b99e07ee133d6 (patch) | |
| tree | 08f907f65a7c2fc52dde914a5dc90052195d3734 | |
| parent | 0e18a9cd55826eca5f2804a06527541140a71925 (diff) | |
| download | rust-e1a91443cdd78101b0c96c84848b99e07ee133d6.tar.gz rust-e1a91443cdd78101b0c96c84848b99e07ee133d6.zip | |
use single line comments
| -rw-r--r-- | src/librustc_driver/lib.rs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index 934015c9536..802ed2a489b 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -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; |
