summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-01-23 21:42:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-01-23 21:42:15 +0900
commitaefb13eb631cc5cd784fe2fc10f1f333a2c5e68c (patch)
treefd1d57d7945a28b8dc0dca5175b9c87a449c56be /hash.c
parent0ea759eac9234afc47e8fb1bcacfe9ee12c8ffb6 (diff)
Added rb_warn_deprecated_to_remove
Warn the deprecation and future removal, with obeying the warning flag.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 6823bae828..32df430b6d 100644
--- a/hash.c
+++ b/hash.c
@@ -4968,7 +4968,7 @@ env_fetch(int argc, VALUE *argv, VALUE _)
int
rb_env_path_tainted(void)
{
- rb_warn("rb_env_path_tainted is deprecated and will be removed in Ruby 3.2.");
+ rb_warn_deprecated_to_remove("rb_env_path_tainted", "3.2");
return 0;
}