     {next_pair, rest}
   end
 
-  @doc """
+  @doc ~s"""
   Checks if `character` is a reserved one in a URI.
 
-  Reserved characters are specified in
-  [RFC 3986, section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
+  As specified in [RFC 3986, section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2),
+  the following characters are reserved: #{@formatted_reserved_characters}
 
   ## Examples
 

  """
  @spec char_reserved?(char) :: boolean
  def char_reserved?(character) when character in 0..0x10FFFF do
    character in ':/?#[]@!$&\'()*+,;='
  end

  @doc """
  Checks if `character` is an unreserved one in a URI.

  Unreserved characters are specified in
  [RFC 3986, section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3).

  ## Examples



  import Bitwise

  @reserved_characters ':/?#[]@!$&\'()*+,;='
  @formatted_reserved_characters Enum.map_join(@reserved_characters, ", ", &<<?`, &1, ?`>>)

  @doc """
  Returns the default port for a given `scheme`.

