get current working directory rust code example Example: rust get current directory std::env::current_dir()?;