2026-05-22 18:11:29 +08:00

13 lines
459 B
Markdown

# Intro
Rust uses the `print!` and `println!` macros to print text to the console.
## Further information
If you installed Rust with `rustup`, you can also open local, offline copies of
Rust's documentation with commands such as `rustup doc --book`,
`rustup doc --std` and `rustup doc --rust-by-example`.
- [Hello World](https://doc.rust-lang.org/rust-by-example/hello.html)
- [Formatted print](https://doc.rust-lang.org/rust-by-example/hello/print.html)