Re: [whatwg/url] Editorial: Restate shorten and use it more (#613)

@TimothyGu commented on this pull request.



>   <li><p>If <var>url</var>'s <a for=url>scheme</a> is "<code>file</code>", <var>path</var>'s
  <a for=list>size</a> is 1, and <var>path</var>[0] is a <a>normalized Windows drive letter</a>, then
  return.
 
- <li><p><a for=list>Remove</a> <var>path</var>'s last item.
+ <li><p><a for=list>Remove</a> <var>path</var>'s last item, if any.

@annevk I believe this is more concise compared to the previous definition while maintaining the precision, but happy to revert if you disagree.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/613#pullrequestreview-676847217

Received on Sunday, 6 June 2021 09:48:55 UTC