From e27f94c1228ab6991bf3a6ca2475cdaf1ee77dd2 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 2 Jun 2020 19:30:16 +0200 Subject: Solve rust hello world --- rust/hello-world/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/hello-world/src/lib.rs') 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!" } -- cgit v1.2.3