summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2020-06-02 19:30:16 +0200
committerDimitri Sokolyuk <demon@dim13.org>2020-06-02 19:30:16 +0200
commite27f94c1228ab6991bf3a6ca2475cdaf1ee77dd2 (patch)
treeae206bb6b01e4575b10e9f279f0b3f5a0cbe90dc
parent69a68b10a12af3f85842eeb7586e62ff780f2f5f (diff)
Solve rust hello worldHEADmaster
-rw-r--r--rust/hello-world/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/hello-world/src/lib.rs b/rust/hello-world/src/lib.rs
index f147ab7..8f68273 100644
--- a/rust/hello-world/src/lib.rs
+++ b/rust/hello-world/src/lib.rs
@@ -1,5 +1,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!"
+ "Hello, World!"
}