chore: reorg
This commit is contained in:
10
__misc/lazy_static/src/main.rs
Normal file
10
__misc/lazy_static/src/main.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
|
||||
lazy_static! {
|
||||
static ref USER_HOME: Option<String> = std::env::var("HOME").ok();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
println!("User home: {:?}", *USER_HOME);
|
||||
}
|
||||
Reference in New Issue
Block a user