refact(rustup): make_dependency panic
calling this would be a programming error, therefore a panic is warranted
This commit is contained in:
@@ -57,7 +57,7 @@ impl Backend for Rustup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn make_dependency(&self, _: &[Package]) -> Result<ExitStatus> {
|
fn make_dependency(&self, _: &[Package]) -> Result<ExitStatus> {
|
||||||
bail!("Not supported by {}", self.get_binary())
|
panic!("Not supported by {}", self.get_binary())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn install_packages(&self, packages: &[Package], _: bool) -> Result<ExitStatus> {
|
fn install_packages(&self, packages: &[Package], _: bool) -> Result<ExitStatus> {
|
||||||
|
|||||||
Reference in New Issue
Block a user