summaryrefslogtreecommitdiff
path: root/rust/hello-world/src/lib.rs
blob: 8f68273b7385046ba1a1de66102d3b0dc323fe9a (plain)
1
2
3
4
5
// The &'static here means the return type has a static lifetime.
// This is a Rust feature that you don't need to worry about now.
pub fn hello() -> &'static str {
    "Hello, World!"
}