Skip to content

Commit

Permalink
Modify the method of obtaining environment variables and delete the c…
Browse files Browse the repository at this point in the history
…omment.
  • Loading branch information
heisen-li committed Jun 15, 2024
1 parent 877da76 commit 962e404
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cargo/core/compiler/fingerprint/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -770,9 +770,6 @@ pub enum StaleItem {
impl LocalFingerprint {
/// Read the environment variable of the given env `key`, and creates a new
/// [`LocalFingerprint::RerunIfEnvChanged`] for it.
///
// TODO: This is allowed at this moment. Should figure out if it makes
// sense if permitting to read env from the config system.
#[allow(clippy::disallowed_methods)]
fn from_env<K: AsRef<str>>(
key: K,
Expand Down

0 comments on commit 962e404

Please sign in to comment.