diff --git a/lib/elixir/lib/string.ex b/lib/elixir/lib/string.ex index 16a071d8b4..5e093c5416 100644 --- a/lib/elixir/lib/string.ex +++ b/lib/elixir/lib/string.ex @@ -894,10 +894,10 @@ defmodule String do The trait can be one of two options: - * `:valid` – the string is split into chunks of valid and invalid character + * `:valid` - the string is split into chunks of valid and invalid character sequences - * `:printable` – the string is split into chunks of printable and + * `:printable` - the string is split into chunks of printable and non-printable character sequences Returns a list of binaries each of which contains only one kind of diff --git a/lib/elixir/lib/supervisor.ex b/lib/elixir/lib/supervisor.ex index ef0142510b..7b691b8940 100644 --- a/lib/elixir/lib/supervisor.ex +++ b/lib/elixir/lib/supervisor.ex @@ -428,7 +428,7 @@ defmodule Supervisor do * `type` - `:worker` or `:supervisor` as defined in the child specification - * `modules` – as defined in the child specification + * `modules` - as defined in the child specification """ @spec which_children(supervisor) :: [{Supervisor.Spec.child_id | :undefined,