@@ -442,7 +442,7 @@ extension FilePath {
442
442
// @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
443
443
extension FilePath {
444
444
/// If `prefix` is a prefix of `self`, removes it and returns `true`.
445
- /// Otherwise returns `false`.
445
+ /// Otherwise returns `false`.
446
446
///
447
447
/// Example:
448
448
///
@@ -503,10 +503,11 @@ extension FilePath {
503
503
/// A leading separator is spurious if `self` is non-empty.
504
504
///
505
505
/// Example:
506
- /// var path: FilePath = ""
507
- /// path.append("/var/www/website") // "/var/www/website"
508
- /// path.append("static/assets") // "/var/www/website/static/assets"
509
- /// path.append("/main.css") // "/var/www/website/static/assets/main.css"
506
+ ///
507
+ /// var path: FilePath = ""
508
+ /// path.append("/var/www/website") // "/var/www/website"
509
+ /// path.append("static/assets") // "/var/www/website/static/assets"
510
+ /// path.append("/main.css") // "/var/www/website/static/assets/main.css"
510
511
///
511
512
// TODO(Windows docs): example with roots, should we rephrase this "spurious
512
513
// roots"?
@@ -576,7 +577,7 @@ extension FilePath {
576
577
_append ( unchecked: other. _storage [ ... ] )
577
578
}
578
579
579
- /// Non-mutating version of `push()`
580
+ /// Non-mutating version of `push()`.
580
581
///
581
582
// TODO(Windows docs): examples and docs with roots
582
583
public __consuming func pushing( _ other: __owned FilePath) -> FilePath {
0 commit comments