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 {
819819 self = appendingPathExtension ( pathExtension)
820820 }
821821
822- /// Returns a URL constructed by removing the last path component of self.
822+ /// Removes the last path component from self.
823823 ///
824824 /// This function may either remove a path component or append `/..`.
825825 ///
@@ -829,7 +829,7 @@ public struct URL : ReferenceConvertible, Equatable {
829829 }
830830
831831
832- /// Returns a URL constructed by removing any path extension.
832+ /// Removes any path extension from self .
833833 ///
834834 /// If the URL has an empty path (e.g., `http://www.example.com`), then this function will do nothing.
835835 public mutating func deletePathExtension( ) {
You can’t perform that action at this time.
0 commit comments