Solve rust/hello-world
This commit is contained in:
parent
327faf9595
commit
6f62a90c6c
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
// &'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