Skip to content

Commit 88a7908

Browse files
committed
Remove dead code
Signed-off-by: hi-rustin <[email protected]>
1 parent bd99c04 commit 88a7908

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)