File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -819,7 +819,7 @@ public struct URL : ReferenceConvertible, Equatable {
819
819
self = appendingPathExtension ( pathExtension)
820
820
}
821
821
822
- /// Returns a URL constructed by removing the last path component of self.
822
+ /// Removes the last path component from self.
823
823
///
824
824
/// This function may either remove a path component or append `/..`.
825
825
///
@@ -829,7 +829,7 @@ public struct URL : ReferenceConvertible, Equatable {
829
829
}
830
830
831
831
832
- /// Returns a URL constructed by removing any path extension.
832
+ /// Removes any path extension from self .
833
833
///
834
834
/// If the URL has an empty path (e.g., `http://www.example.com`), then this function will do nothing.
835
835
public mutating func deletePathExtension( ) {
You can’t perform that action at this time.
0 commit comments