diff options
author | Andinus <andinus@nand.sh> | 2021-09-07 21:16:54 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-09-07 21:16:54 +0530 |
commit | a6a08927f762a0d30c8e199cd2c1386ee2e08d0e (patch) | |
tree | 64f405935b716e61e7c9ecb7cc20fdf24f0b2311 /rust/hello-world/src | |
parent | 5622b92d80a80faabc1bcf35c94a35a28ff63e05 (diff) | |
download | exercism-a6a08927f762a0d30c8e199cd2c1386ee2e08d0e.tar.gz |
Rust: Add Hello World & Lucian's Luscious Lasagna
Diffstat (limited to 'rust/hello-world/src')
-rw-r--r-- | rust/hello-world/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/hello-world/src/lib.rs b/rust/hello-world/src/lib.rs new file mode 100644 index 0000000..5c2db6d --- /dev/null +++ b/rust/hello-world/src/lib.rs @@ -0,0 +1,4 @@ +// &'static is a "lifetime specifier", something you'll learn more about later +pub fn hello() -> &'static str { + "Hello, World!" +} |