Skip to content

Commit aa700d4

Browse files
committed
Auto merge of #11080 - hi-rustin:rustin-patch-dead-code, r=epage
Remove dead code ### What does this PR try to resolve? Remove the dead code. I found it when I tried to build cargo. r? `@epage`
2 parents bd99c04 + 88a7908 commit aa700d4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/bin/cargo/cli.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -480,13 +480,6 @@ impl LazyConfig {
480480
Self { config: None }
481481
}
482482

483-
/// Check whether the config is loaded
484-
///
485-
/// This is useful for asserts in case the environment needs to be setup before loading
486-
pub fn is_init(&self) -> bool {
487-
self.config.is_some()
488-
}
489-
490483
/// Get the config, loading it if needed
491484
///
492485
/// On error, the process is terminated

0 commit comments

Comments
 (0)