about summary refs log tree commit diff
path: root/src/librustc_interface
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2020-07-07 11:12:44 -0400
committerTamir Duberstein <tamird@google.com>2020-07-10 07:39:28 -0400
commit62cf767a4a39b47677d18110359d9e7152dc9d1c (patch)
tree8bc162cb6f8e309f513cfccff3ab3969b10333c6 /src/librustc_interface
parente59b08e62ea691916d2f063cac5aab4634128022 (diff)
downloadrust-62cf767a4a39b47677d18110359d9e7152dc9d1c.tar.gz
rust-62cf767a4a39b47677d18110359d9e7152dc9d1c.zip
Avoid "whitelist"
Other terms are more inclusive and precise.
Diffstat (limited to 'src/librustc_interface')
-rw-r--r--src/librustc_interface/util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_interface/util.rs b/src/librustc_interface/util.rs
index fe091e92062..5f6f7ce04e9 100644
--- a/src/librustc_interface/util.rs
+++ b/src/librustc_interface/util.rs
@@ -38,8 +38,8 @@ use std::{panic, thread};
 /// Adds `target_feature = "..."` cfgs for a variety of platform
 /// specific features (SSE, NEON etc.).
 ///
-/// This is performed by checking whether a whitelisted set of
-/// features is available on the target machine, by querying LLVM.
+/// This is performed by checking whether a set of permitted features
+/// is available on the target machine, by querying LLVM.
 pub fn add_configuration(
     cfg: &mut CrateConfig,
     sess: &mut Session,