Tweak installation language in toolchain install (#4811)

## Summary

Like https://github.com/astral-sh/uv/pull/4808 but with a few more
changes. I suspect this will require some bikeshedding but I find the
use of "installation" and "installed" in the same sentence to be kind of
a lot.
This commit is contained in:
Charlie Marsh 2024-07-04 17:05:31 -04:00 committed by GitHub
parent b588054dfb
commit a13ab43a0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 13 deletions

View file

@ -407,7 +407,7 @@ impl ManagedPythonDownload {
parent_path: &Path,
) -> Result<DownloadResult, Error> {
let url = Url::parse(self.url)?;
let path = parent_path.join(self.key().to_string()).clone();
let path = parent_path.join(self.key().to_string());
// If it already exists, return it
if path.is_dir() {
@ -429,7 +429,7 @@ impl ManagedPythonDownload {
);
let reader = response
.bytes_stream()
.map_err(|err| std::io::Error::new(std::io::ErrorKind::Other, err))
.map_err(|err| io::Error::new(io::ErrorKind::Other, err))
.into_async_read();
debug!("Extracting {filename}");