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