Elixir 1.3.0: String.strip/1 and String.strip/2 API documentation missing. -
it seems elixir 1.3.0 doesn't show anymore documentation string.strip/1 , string.strip/2:
iex(1)> h string.strip no documentation string.strip found
they missing in current online documentation (v1.3, master, stable), functions still recognized compiler:
iex(2)> string.strip(" hallo, world! ") "hallo, world!"
so i'm wondering if bug in string documentation, or if these functions going become deprecated. can't find better information googling.
these functions have been soft deprecated. means have been marked @doc false
. plan deprecate warnings 1.5.
https://github.com/elixir-lang/elixir/blob/v1.3/changelog.md#3-soft-deprecations-no-warnings-emitted
[string] confusing string.strip/2, string.lstrip/2 , string.rstrip/2 api has been soft deprecated in favor of string.trim/2, string.trim_leading/2 , string.trim_trailing/2
Comments
Post a Comment