Solve rust/exercises/hello-world

This commit is contained in:
Daniel Siepmann 2024-03-25 10:11:54 +01:00
parent e6c7977320
commit ea27fffb85
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -1,4 +1,4 @@
// &'static is a "lifetime specifier", something you'll learn more about later
pub fn hello() -> &'static str {
"Goodbye, Mars!"
"Hello, World!"
}