Apply deprecated_safe lint

This commit is contained in:
Taiki Endo
2024-08-25 21:57:04 +09:00
parent 55ca367f68
commit fa71ab6d46
2 changed files with 1 additions and 2 deletions

View File

@@ -8,8 +8,6 @@ disallowed-macros = [
{ path = "std::dbg", reason = "it is okay to use during development, but please do not include it in main branch" },
]
disallowed-methods = [
{ path = "std::env::remove_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
{ path = "std::env::set_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
]
disallowed-types = [
]