Created
December 25, 2024 06:00
-
-
Save chikoski/fc45a7bc9131b1563745066cbf6553e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::env; | |
fn main() { | |
let name = env::var("name").unwrap_or("world".to_string()); | |
println!("Hello, {name}!"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment