From e1bdac2cf2d64bc8dbbedb22cc8cfb88620ff535 Mon Sep 17 00:00:00 2001 From: eksperimental Date: Fri, 11 Sep 2015 19:46:32 +0700 Subject: [PATCH] Replace en-dash when it should be hyphen --- lib/elixir/lib/string.ex | 4 ++-- lib/elixir/lib/supervisor.ex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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,