On 14/03/14 05:52 PM, Renato Lenzi wrote:
> Simple question:
> 
> println("hello");

This is a function call. There's a `std::io::println` function taking
`&str`, but it's not in the prelude anymore.

> println!("hello!");

This is a macro invocation. The `println!` macro is included in the
prelude and implements type-safe format strings, as documented in
`std::fmt`.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to