Skip to content

Commit

Permalink
Improve docs, closes #13279
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jan 24, 2024
1 parent 4d2a18b commit 4506074
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/elixir/lib/uri.ex
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,9 @@ defmodule URI do
Percent-encodes all characters that require escaping in `string`.
By default, this function is meant to escape the whole URI, and
therefore it will escape all characters which are foreign to the
URI specification. Reserved characters (such as `:` and `/`) or
unreserved (such as letters and numbers) are not escaped.
therefore it will only escape characters which are foreign in
all parts of a URI. Reserved characters (such as `:` and `/`)
or unreserved (such as letters and numbers) are not escaped.
Because different components of a URI require different escaping
rules, this function also accepts a `predicate` function as an optional
Expand Down

0 comments on commit 4506074

Please sign in to comment.