Docs.rs
rust-learning-0.1.0
rust-learning 0.1.0
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
sunqing975
Dependencies
rand ^0.9.0
normal
Versions
63.51%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rust_
learning
0.1.0
In rust_
learning::
hello_
world
rust_learning
::
hello_world
Function
hello_world
Copy item path
Source
pub fn hello_world()
Expand description
打印“Hello, world!”消息到控制台。
该函数不需要任何参数,并且不会返回任何值。它简单地演示了如何在控制台输出一段文本。