From d2c4e4507aa34e6a28a0fd557b398e960c976bff Mon Sep 17 00:00:00 2001 From: Alex Martini Date: Tue, 22 Jun 2021 20:24:14 -0700 Subject: [PATCH] Fix spacing and indentation. --- Sources/System/FilePath/FilePathSyntax.swift | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Sources/System/FilePath/FilePathSyntax.swift b/Sources/System/FilePath/FilePathSyntax.swift index 693b326..b3e8eca 100644 --- a/Sources/System/FilePath/FilePathSyntax.swift +++ b/Sources/System/FilePath/FilePathSyntax.swift @@ -442,7 +442,7 @@ extension FilePath { // @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) extension FilePath { /// If `prefix` is a prefix of `self`, removes it and returns `true`. - /// Otherwise returns `false`. + /// Otherwise returns `false`. /// /// Example: /// @@ -503,10 +503,11 @@ extension FilePath { /// A leading separator is spurious if `self` is non-empty. /// /// Example: - /// var path: FilePath = "" - /// path.append("/var/www/website") // "/var/www/website" - /// path.append("static/assets") // "/var/www/website/static/assets" - /// path.append("/main.css") // "/var/www/website/static/assets/main.css" + /// + /// var path: FilePath = "" + /// path.append("/var/www/website") // "/var/www/website" + /// path.append("static/assets") // "/var/www/website/static/assets" + /// path.append("/main.css") // "/var/www/website/static/assets/main.css" /// // TODO(Windows docs): example with roots, should we rephrase this "spurious // roots"?