Skip to content

Commit ea80979

Browse files
committed
toolchain: Expose get_manifest() from DistributableToolchain
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent 1350d9e commit ea80979

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
@@ -664,7 +664,7 @@ impl<'a> DistributableToolchain<'a> {
664664
}
665665

666666
// Installed only.
667-
fn get_manifest(&self) -> Result<Option<Manifest>> {
667+
pub fn get_manifest(&self) -> Result<Option<Manifest>> {
668668
if !self.0.exists() {
669669
return Err(ErrorKind::ToolchainNotInstalled(self.0.name().to_owned()).into());
670670
}

0 commit comments

Comments
 (0)