pub fn uninstall(&self, workspace: &Workspace) -> Result<(), Error> {
        let name = self.rustup_name();
        Command::new(workspace, &RUSTUP)
            .args(&["toolchain", "uninstall", &name])
            .run()
            .with_context(|_| format!("unable to uninstall toolchain {} via rustup", name))?;
        Ok(())
    }
/// Remove the toolchain from the rustwide workspace, freeing up disk space.
Remove the toolchain from the rustwide workspace, freeing up disk space.
Remove the toolchain from the rustwide workspace freeing up disk space .
pub fn uninstall(&self, workspace: &Workspace) -> Result<(), Error> {
        let name = self.rustup_name();
        Command::new(workspace, &RUSTUP)
            .args(&["toolchain", "uninstall", &name])
            .run()
            .with_context(|_| format!("unable to uninstall toolchain {} via rustup", name))?;
        Ok(())
    }
pub fn uninstall ( & self , workspace : & Workspace ) -> Result < ( ) , Error > { let name = self . rustup_name ( ) ; Command :: new ( workspace , & RUSTUP ) . args ( & [ " " , " " , & name ] ) . run ( ) . with_context ( | _ | format ! ( " " name ) ) ? ; Ok ( ( ) ) }
Remove the toolchain from the rustwide workspace, freeing up disk space.
Remove the toolchain from the rustwide workspace freeing up disk space .
&self
workspace
&Workspace