summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTakayuki Nakata <f.seasons017@gmail.com>2020-08-03 22:06:35 +0900
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-08-03 11:07:57 -0500
commit5236330427e39c74d8d4887db6ec048287dcf475 (patch)
tree87878e77a15a97fccf2219f24bb8fc0c9d53256b /src/doc/rustc-dev-guide
parent43cc8ec16f5eb70c159e394488373047e4ce6a68 (diff)
downloadrust-5236330427e39c74d8d4887db6ec048287dcf475.tar.gz
rust-5236330427e39c74d8d4887db6ec048287dcf475.zip
Avoid "whitelist"
Fixed according to https://github.com/rust-lang/rust/commit/62cf767a4a39b47677d18110359d9e7152dc9d1c
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/crates-io.md10
-rw-r--r--src/doc/rustc-dev-guide/src/stability.md4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/doc/rustc-dev-guide/src/crates-io.md b/src/doc/rustc-dev-guide/src/crates-io.md
index 21dd00afe50..17757454e9b 100644
--- a/src/doc/rustc-dev-guide/src/crates-io.md
+++ b/src/doc/rustc-dev-guide/src/crates-io.md
@@ -14,10 +14,10 @@ reasons:
 
 TODO: what is the vetting process?
 
-## Whitelist
+## Pemitted dependencies
 
-The `tidy` tool has a [whitelist] of crates that are allowed. To add a
-dependency that is not already in the compiler, you will need to add it to this
-whitelist.
+The `tidy` tool has [crates that are allowed]. To add a
+dependency that is not already in the compiler, you will need to add it to these
+crates.
 
-[whitelist]: https://github.com/rust-lang/rust/blob/659994627234ce7d95a1a52ad8756ce661059adf/src/tools/tidy/src/deps.rs#L56
+[crates that are allowed]: https://github.com/rust-lang/rust/blob/19ecce332e56941ea0dd2a805270faa102acdb14/src/tools/tidy/src/deps.rs#L59
diff --git a/src/doc/rustc-dev-guide/src/stability.md b/src/doc/rustc-dev-guide/src/stability.md
index f48c3d529dd..1160ee98d17 100644
--- a/src/doc/rustc-dev-guide/src/stability.md
+++ b/src/doc/rustc-dev-guide/src/stability.md
@@ -76,11 +76,11 @@ Furthermore this attribute is needed to mark an intrinsic as callable from
 Macros, compiler desugarings and `const fn`s expose their bodies to the call
 site. To work around not being able to use unstable things in the standard
 library's macros, there's the `#[allow_internal_unstable(feature1, feature2)]`
-attribute that whitelists the given features for usage in stable macros or
+attribute that allows the given features for usage in stable macros or
 `const fn`s.
 
 Note that `const fn`s are even more special in this regard. You can't just
-whitelist any feature, the features need an implementation in
+allow any feature, the features need an implementation in
 `qualify_min_const_fn.rs`. For example the `const_fn_union` feature gate allows
 accessing fields of unions inside stable `const fn`s. The rules for when it's
 ok to use such a feature gate are that behavior matches the runtime behavior of