refact(rustup): make_dependency panic
calling this would be a programming error, therefore a panic is warranted
This commit is contained in:
1 parent
2952b7ba44
commit
937efc3782
1 file changed
+1
-1
@@ -57,7 +57,7 @@ impl Backend for Rustup {
|
||||
}
|
||||
|
||||
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> {
|
||||
|
||||
Reference in new issue
Block a user