diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-09-17 08:50:04 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-09-17 08:50:04 -0700 |
| commit | 3cf43aeb4f39cc5814ace82637b37d6bafbda7e6 (patch) | |
| tree | cca78c57a3468ec7e6feb0fdf955eabdbd04dcbd /src/libstd | |
| parent | 4a7665c80818b61903e2c4120cf1a66542019cc1 (diff) | |
| parent | 474d34043e12b3a81f47c3709beff14e80088e55 (diff) | |
| download | rust-3cf43aeb4f39cc5814ace82637b37d6bafbda7e6.tar.gz rust-3cf43aeb4f39cc5814ace82637b37d6bafbda7e6.zip | |
rollup merge of #17326 : brson/wintest
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index 0ebca006c4c..e1f2f43673f 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -434,8 +434,8 @@ pub mod builtin { /// # Example /// /// ```rust - /// let home: &'static str = env!("HOME"); - /// println!("the home directory at the time of compiling was: {}", home); + /// let path: &'static str = env!("PATH"); + /// println!("the $PATH variable at the time of compiling was: {}", path); /// ``` #[macro_export] macro_rules! env( ($name:expr) => ({ /* compiler built-in */ }) ) |
