From 9de09218523f6fef45d3029d58acfc26d0cc0672 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sun, 10 Mar 2024 07:56:56 +0100 Subject: [PATCH] compiletest: Fix typos in get_lib_name() comment --- src/tools/compiletest/src/runtest.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 52741d7486a..c4a918dc508 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -83,10 +83,10 @@ fn disable_error_reporting R, R>(f: F) -> R { /// The platform-specific library name fn get_lib_name(lib: &str, dylib: bool) -> String { - // In some casess (e.g. MUSL), we build a static + // In some cases (e.g. MUSL), we build a static // library, rather than a dynamic library. // In this case, the only path we can pass - // with '--extern-meta' is the '.lib' file + // with '--extern-meta' is the '.rlib' file if !dylib { return format!("lib{}.rlib", lib); }