Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Sep 13, 2022
1 parent bd99c04 commit 88a7908
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/bin/cargo/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,6 @@ impl LazyConfig {
Self { config: None }
}

/// Check whether the config is loaded
///
/// This is useful for asserts in case the environment needs to be setup before loading
pub fn is_init(&self) -> bool {
self.config.is_some()
}

/// Get the config, loading it if needed
///
/// On error, the process is terminated
Expand Down

0 comments on commit 88a7908

Please sign in to comment.