Skip to content

Commit 43efc9e

Browse files
authored
Fix typos.
Small typo fixes in docstrings.
1 parent bfd8f7d commit 43efc9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Commands/UserToolchain.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ struct UserToolchain: Toolchain {
4343
#endif
4444

4545
/// Lookup an executable path from environment variable value. This method searches in the following order:
46-
/// * If env value is a valid abolsute path, return it.
46+
/// * If env value is a valid absolute path, return it.
4747
/// * If env value is relative path, first try to locate it in current working directory.
4848
/// * Otherwise, in provided search paths.
4949
///
5050
/// - Parameters:
5151
/// - value: The value from environment variable.
5252
/// - cwd: The current working directory to look in.
53-
/// - searchPath: The addtional search path to look in if not found in cwd.
53+
/// - searchPath: The additional search path to look in if not found in cwd.
5454
/// - Returns: Valid path to executable if present, otherwise nil.
5555
static func lookupExecutablePath(inEnvValue value: String?, currentWorkingDirectory cwd: AbsolutePath, searchPaths: [AbsolutePath]) -> AbsolutePath? {
5656
// We should have a value to continue.

0 commit comments

Comments
 (0)