Function hello_world

Source
pub fn hello_world()
Expand description

打印“Hello, world!”消息到控制台。

该函数不需要任何参数,并且不会返回任何值。它简单地演示了如何在控制台输出一段文本。