summaryrefslogtreecommitdiff
path: root/rust/hello-world/src/lib.rs
blob: f147ab7b686b3eb14a2e09494db9df1393baa20b (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 {
    "Goodbye, World!"
}