summaryrefslogtreecommitdiff
path: root/rust/hello-world/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/hello-world/src/lib.rs')
-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!"
}