Solve rust/exercises/hello-world
This commit is contained in:
parent
e6c7977320
commit
ea27fffb85
1 changed files with 1 additions and 1 deletions
|
@ -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!"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue