diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-11 22:55:08 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-12 12:14:06 -0700 |
| commit | 674fb0911c2eb9aeaa2abdf03b6e4e8756f1cf78 (patch) | |
| tree | 28fff1ce48c66d464617069e9bcf86ddb7e33536 /src/lib | |
| parent | 495b0bf65ed6c2a8f3d9ab4aaa8c187bb144051e (diff) | |
| download | rust-674fb0911c2eb9aeaa2abdf03b6e4e8756f1cf78.tar.gz rust-674fb0911c2eb9aeaa2abdf03b6e4e8756f1cf78.zip | |
Rename std::termivec to std::term
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/std.rc | 2 | ||||
| -rw-r--r-- | src/lib/term.rs (renamed from src/lib/termivec.rs) | 0 | ||||
| -rw-r--r-- | src/lib/test.rs | 14 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/std.rc b/src/lib/std.rc index 847ca6e6b6d..94e23646ca6 100644 --- a/src/lib/std.rc +++ b/src/lib/std.rc @@ -93,7 +93,7 @@ mod ptr; mod test; mod unsafe; mod ebmlivec = "ebml.rs"; -mod termivec; +mod term; // Local Variables: // mode: rust; diff --git a/src/lib/termivec.rs b/src/lib/term.rs index 4d635e780b2..4d635e780b2 100644 --- a/src/lib/termivec.rs +++ b/src/lib/term.rs diff --git a/src/lib/test.rs b/src/lib/test.rs index eeaf472c865..de6a4555cf1 100644 --- a/src/lib/test.rs +++ b/src/lib/test.rs @@ -181,25 +181,25 @@ fn run_tests_console_(opts: &test_opts, tests: &[test_desc], ret success; fn write_ok(out: &io::writer, use_color: bool) { - write_pretty(out, "ok", termivec::color_green, use_color); + write_pretty(out, "ok", term::color_green, use_color); } fn write_failed(out: &io::writer, use_color: bool) { - write_pretty(out, "FAILED", termivec::color_red, use_color); + write_pretty(out, "FAILED", term::color_red, use_color); } fn write_ignored(out: &io::writer, use_color: bool) { - write_pretty(out, "ignored", termivec::color_yellow, use_color); + write_pretty(out, "ignored", term::color_yellow, use_color); } fn write_pretty(out: &io::writer, word: &str, color: u8, use_color: bool) { - if use_color && termivec::color_supported() { - termivec::fg(out.get_buf_writer(), color); + if use_color && term::color_supported() { + term::fg(out.get_buf_writer(), color); } out.write_str(word); - if use_color && termivec::color_supported() { - termivec::reset(out.get_buf_writer()); + if use_color && term::color_supported() { + term::reset(out.get_buf_writer()); } } } |
