Skip to content

Commit 962e404

Browse files
committed
Modify the method of obtaining environment variables and delete the comment.
1 parent 877da76 commit 962e404

File tree

1 file changed

+0
-3
lines changed
  • src/cargo/core/compiler/fingerprint

1 file changed

+0
-3
lines changed

src/cargo/core/compiler/fingerprint/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -770,9 +770,6 @@ pub enum StaleItem {
770770
impl LocalFingerprint {
771771
/// Read the environment variable of the given env `key`, and creates a new
772772
/// [`LocalFingerprint::RerunIfEnvChanged`] for it.
773-
///
774-
// TODO: This is allowed at this moment. Should figure out if it makes
775-
// sense if permitting to read env from the config system.
776773
#[allow(clippy::disallowed_methods)]
777774
fn from_env<K: AsRef<str>>(
778775
key: K,

0 commit comments

Comments
 (0)