aboutsummaryrefslogtreecommitdiff
path: root/hello-world/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'hello-world/src/lib.rs')
-rw-r--r--hello-world/src/lib.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/hello-world/src/lib.rs b/hello-world/src/lib.rs
deleted file mode 100644
index 8f68273..0000000
--- a/hello-world/src/lib.rs
+++ /dev/null
@@ -1,5 +0,0 @@
1// The &'static here means the return type has a static lifetime.
2// This is a Rust feature that you don't need to worry about now.
3pub fn hello() -> &'static str {
4 "Hello, World!"
5}