From 0e25962c4e69aef647e7275fa7bc7545dbb8cd0b Mon Sep 17 00:00:00 2001 From: Marcel Hlopko Date: Thu, 11 Feb 2021 08:58:46 +0100 Subject: Rename whitelist -> allowlist and blacklist -> blocklist For the commandline arguments I added undocumented aliases to old flags, to stay backwards compatible. --- src/codegen/impl_debug.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/codegen/impl_debug.rs') diff --git a/src/codegen/impl_debug.rs b/src/codegen/impl_debug.rs index ed1a5e25..b8fdd0d4 100644 --- a/src/codegen/impl_debug.rs +++ b/src/codegen/impl_debug.rs @@ -120,9 +120,9 @@ impl<'a> ImplDebug<'a> for Item { ) -> Option<(String, Vec)> { let name_ident = ctx.rust_ident(name); - // We don't know if blacklisted items `impl Debug` or not, so we can't + // We don't know if blocklisted items `impl Debug` or not, so we can't // add them to the format string we're building up. - if !ctx.whitelisted_items().contains(&self.id()) { + if !ctx.allowlisted_items().contains(&self.id()) { return None; } -- cgit v1.2.3