From 3169d408fa90182c2e80b1313872e33eae19ca9e Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 30 Jul 2024 10:38:38 +0100 Subject: [PATCH] [red-knot] Fix typos in the module resolver (#12574) --- crates/red_knot_module_resolver/src/path.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/red_knot_module_resolver/src/path.rs b/crates/red_knot_module_resolver/src/path.rs index eea4948b48..a649dd078b 100644 --- a/crates/red_knot_module_resolver/src/path.rs +++ b/crates/red_knot_module_resolver/src/path.rs @@ -324,8 +324,8 @@ impl fmt::Display for SearchPathValidationError { Self::NoStdlibSubdirectory(path) => { write!(f, "The directory at {path} has no `stdlib/` subdirectory") } - Self::NoVersionsFile(path) => write!(f, "Expected a file at {path}/stldib/VERSIONS"), - Self::VersionsIsADirectory(path) => write!(f, "{path}/stldib/VERSIONS is a directory."), + Self::NoVersionsFile(path) => write!(f, "Expected a file at {path}/stdlib/VERSIONS"), + Self::VersionsIsADirectory(path) => write!(f, "{path}/stdlib/VERSIONS is a directory."), Self::VersionsParseError(underlying_error) => underlying_error.fmt(f), } }