Fix typos in docs, error messages and comments (#6910)

This commit is contained in:
Ed Morley 2024-09-01 11:37:43 +00:00 committed by GitHub
parent c9e4395322
commit a5f1e1c765
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 17 additions and 17 deletions

View file

@ -897,7 +897,7 @@ pub fn find_best_python_installation(
) -> Result<FindPythonResult, Error> {
debug!("Starting Python discovery for {}", request);
// First, check for an exact match (or the first available version if no Python versfion was provided)
// First, check for an exact match (or the first available version if no Python version was provided)
debug!("Looking for exact match for request {request}");
let result = find_python_installation(request, environments, preference, cache)?;
if let Ok(ref installation) = result {

View file

@ -15,7 +15,7 @@ pub(crate) struct WindowsPython {
pub(crate) version: Option<PythonVersion>,
}
/// Àdding `windows_registry::Value::into_string()`.
/// Adding `windows_registry::Value::into_string()`.
fn value_to_string(value: Value) -> Option<String> {
match value {
Value::String(string) => Some(string),