Skip to content

Commit 4284ce1

Browse files
committed
refactor(toolchain): privatize Toolchain::maybe_do_cargo_fallback()
1 parent 8948cd2 commit 4284ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toolchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ impl<'a> Toolchain<'a> {
343343

344344
// Custom toolchains don't have cargo, so here we detect that situation and
345345
// try to find a different cargo.
346-
pub(crate) fn maybe_do_cargo_fallback(&self, binary: &str) -> anyhow::Result<Option<Command>> {
346+
fn maybe_do_cargo_fallback(&self, binary: &str) -> anyhow::Result<Option<Command>> {
347347
if binary != "cargo" && binary != "cargo.exe" {
348348
return Ok(None);
349349
}

0 commit comments

Comments
 (0)