Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
763bc13
Add support for powerpc-unknown-freebsd
pkubaj Jul 22, 2021
b6badee
Fix span when suggesting to add an associated type bound
SkiFire13 Jul 21, 2021
d1bc941
Add regression test
SkiFire13 Jul 21, 2021
c5dda05
Implement `AssignToDroppingUnionField` in THIR unsafeck
LeSeulArtichaut Jul 23, 2021
04634e8
Mark `format_args_nl` as `#[doc(hidden)]`
jonas-schievink Jul 23, 2021
74f01a4
Fix parameter names in std::env documentation.
ericonr Jul 23, 2021
a2ae191
Rename `known_attrs` to `expanded_inert_attrs` and move to rustc_expand
Aaron1011 Jul 22, 2021
30b6197
IEEE 754 is not an RFC
programmerjake Jul 24, 2021
17f7536
Remove detection of rustup and cargo in 'missing extern crate' diagno…
jyn514 Jul 22, 2021
7879a59
DOC: remove unnecessary feature crate attribute from example code
mgeier Jul 24, 2021
e4d8f0e
Rollup merge of #87348 - SkiFire13:fix-87261, r=oli-obk
Manishearth Jul 24, 2021
bfa0358
Rollup merge of #87359 - jyn514:bless-rustup, r=estebank
Manishearth Jul 24, 2021
9d45a01
Rollup merge of #87370 - pkubaj:master, r=oli-obk
Manishearth Jul 24, 2021
c673d3f
Rollup merge of #87389 - Aaron1011:expand-known-attrs, r=wesleywiser
Manishearth Jul 24, 2021
5c63506
Rollup merge of #87395 - ericonr:patch-1, r=joshtriplett
Manishearth Jul 24, 2021
075d3a1
Rollup merge of #87403 - LeSeulArtichaut:assign-dropping-union, r=oli…
Manishearth Jul 24, 2021
e932113
Rollup merge of #87410 - jonas-schievink:doc-hidden-format_args_nl, r…
Manishearth Jul 24, 2021
25fab0c
Rollup merge of #87419 - programmerjake:patch-1, r=nagisa
Manishearth Jul 24, 2021
acfa3ac
Rollup merge of #87422 - mgeier:doc-strip-feature-attribute, r=LeSeul…
Manishearth Jul 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix parameter names in std::env documentation.
The function parameters were renamed, but the documentation wasn't.
  • Loading branch information
ericonr committed Jul 23, 2021
commit 74f01a4bbe441816aa5de489ca87f77d3474af37
7 changes: 3 additions & 4 deletions library/std/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ impl Error for VarError {
}
}

/// Sets the environment variable `k` to the value `v` for the currently running
/// Sets the environment variable `key` to the value `value` for the currently running
/// process.
///
/// Note that while concurrent access to environment variables is safe in Rust,
Expand All @@ -310,9 +310,8 @@ impl Error for VarError {
///
/// # Panics
///
/// This function may panic if `key` is empty, contains an ASCII equals sign
/// `'='` or the NUL character `'\0'`, or when the value contains the NUL
/// character.
/// This function may panic if `key` is empty, contains an ASCII equals sign `'='`
/// or the NUL character `'\0'`, or when `value` contains the NUL character.
///
/// # Examples
///
Expand Down