We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e55f64f + a7872b3 commit b6146e6Copy full SHA for b6146e6
src/libstd/macros.rs
@@ -425,8 +425,8 @@ pub mod builtin {
425
/// # Example
426
///
427
/// ```rust
428
- /// let user: &'static str = env!("USER");
429
- /// println!("the user who compiled this code is: {}", user);
+ /// let home: &'static str = env!("HOME");
+ /// println!("the home directory at the time of compiling was: {}", home);
430
/// ```
431
#[macro_export]
432
macro_rules! env( ($name:expr) => ({ /* compiler built-in */ }) )
0 commit comments