diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-01-09 21:06:55 +1100 |
|---|---|---|
| committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-01-11 10:46:00 +1100 |
| commit | 4fc0452acef1355ba566a30c5bd04ccd3b9acef2 (patch) | |
| tree | a11738f6d30837655498a8b7d2197bf01452a8f3 /src/test/debug-info/function-arg-initialization.rs | |
| parent | ff7ecca20e116b8365d8095fa9618dc11e54cfbe (diff) | |
| download | rust-4fc0452acef1355ba566a30c5bd04ccd3b9acef2.tar.gz rust-4fc0452acef1355ba566a30c5bd04ccd3b9acef2.zip | |
Remove re-exports of std::io::stdio::{print, println} in the prelude.
The `print!` and `println!` macros are now the preferred method of printing, and so there is no reason to export the `stdio` functions in the prelude. The functions have also been replaced by their macro counterparts in the tutorial and other documentation so that newcomers don't get confused about what they should be using.
Diffstat (limited to 'src/test/debug-info/function-arg-initialization.rs')
| -rw-r--r-- | src/test/debug-info/function-arg-initialization.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debug-info/function-arg-initialization.rs b/src/test/debug-info/function-arg-initialization.rs index e0a4afd4bdf..f9fcfa22f14 100644 --- a/src/test/debug-info/function-arg-initialization.rs +++ b/src/test/debug-info/function-arg-initialization.rs @@ -163,7 +163,7 @@ fn assignment(mut a: u64, b: u64, c: f64) { } fn function_call(x: u64, y: u64, z: f64) { - print("Hi!") + std::io::stdio::print("Hi!") } fn identifier(x: u64, y: u64, z: f64) -> u64 { |
