From 00144de47fd25769f6868eab6705ff45b6b24fc0 Mon Sep 17 00:00:00 2001 From: Kevin Renskers Date: Mon, 9 Mar 2026 13:10:43 +0100 Subject: [PATCH] Fix docstrings --- Sources/PathKit.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sources/PathKit.swift b/Sources/PathKit.swift index 3cf558f..d76f74e 100644 --- a/Sources/PathKit.swift +++ b/Sources/PathKit.swift @@ -420,7 +420,7 @@ extension Path { /// Creates a symbolic link at a new destination. /// - /// - Parameter destintation: The location where the link will be created. + /// - Parameter destination: The location where the link will be created. /// public func symlink(_ destination: Path) throws -> () { try Path.fileManager.createSymbolicLink(atPath: self.path, withDestinationPath: destination.path) @@ -541,8 +541,6 @@ extension Path { /// - Parameter encoding: the encoding which should be used to represent the string as bytes. /// (by default: `NSUTF8StringEncoding`) /// - /// - Returns: the contents of the file at the specified path as string. - /// public func write(_ string: String, encoding: String.Encoding = String.Encoding.utf8) throws { try string.write(toFile: normalize().path, atomically: true, encoding: encoding) }