This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-11-26 00:34:06 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
23815467a2
rust
/
tests
/
ui
/
new-import-syntax.rs
6 lines
61 B
Rust
Raw
Normal View
History
Unescape
Escape
tests: Add missing run-pass annotations
2019-07-26 21:54:25 +00:00
// run-pass
check-fast fallout from removing export, r=burningtree
2013-02-02 03:43:17 +00:00
pub
fn
main
(
)
{
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.
2014-01-09 10:06:55 +00:00
println!
(
"
Hello world!
"
)
;
libsyntax: Allow "use" to be used in place of "import"
2012-08-14 00:55:21 +00:00
}
Reference in New Issue
Copy Permalink