summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Blowers <shdblowers@users.noreply.github.com>2016-09-21 09:27:34 +0100
committerJosé Valim <jose.valim@gmail.com>2016-09-21 10:27:34 +0200
commit904e89782dcde18463b1306e6fe47a0798d55e7f (patch)
treea2a265b4a68a09e824da8582c1c6c1bb8cf6d7c4
parentd02be44dd5deb763e5a0eb03f3c716506d781d08 (diff)
downloadelixir-904e89782dcde18463b1306e6fe47a0798d55e7f.tar.gz
Fixing spelling mistakes of specially -> especially. (#5235)
-rw-r--r--lib/elixir/lib/inspect.ex2
-rw-r--r--lib/elixir/lib/keyword.ex2
-rw-r--r--lib/elixir/pages/Writing Documentation.md2
-rw-r--r--lib/elixir/src/elixir_tokenizer.erl4
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/elixir/lib/inspect.ex b/lib/elixir/lib/inspect.ex
index d009c0d06..9f3b9b08d 100644
--- a/lib/elixir/lib/inspect.ex
+++ b/lib/elixir/lib/inspect.ex
@@ -429,7 +429,7 @@ defimpl Inspect, for: Regex do
do: escape(rest, buf <> <<?\\, term>>, term)
# the list of characters is from "String.printable?" impl
- # minus characters treated specially by regex: \s, \d, \b, \e
+ # minus characters treated especially by regex: \s, \d, \b, \e
defp escape(<<?\n>> <> rest, buf, term),
do: escape(rest, <<buf::binary, ?\\, ?n>>, term)
diff --git a/lib/elixir/lib/keyword.ex b/lib/elixir/lib/keyword.ex
index b9b772e00..e94800369 100644
--- a/lib/elixir/lib/keyword.ex
+++ b/lib/elixir/lib/keyword.ex
@@ -25,7 +25,7 @@ defmodule Keyword do
The functions in Keyword do not guarantee any property when
it comes to ordering. However, since a keyword list is simply a
list, all the operations defined in `Enum` and `List` can be
- applied too, specially when ordering is required.
+ applied too, especially when ordering is required.
"""
@compile :inline_list_funcs
diff --git a/lib/elixir/pages/Writing Documentation.md b/lib/elixir/pages/Writing Documentation.md
index fbc0c572c..b618a3961 100644
--- a/lib/elixir/pages/Writing Documentation.md
+++ b/lib/elixir/pages/Writing Documentation.md
@@ -44,7 +44,7 @@ When documenting a function, argument names are inferred by the compiler. For ex
size
end
-The compiler will infer this argument as `map`. Sometimes the inference will be suboptimal, specially if the function contains multiple clauses with the argument matching on different values each time. You can specify the proper names for documentation by declaring before a bodyless clause:
+The compiler will infer this argument as `map`. Sometimes the inference will be suboptimal, especially if the function contains multiple clauses with the argument matching on different values each time. You can specify the proper names for documentation by declaring before a bodyless clause:
def size(map)
def size(%{size: size}) do
diff --git a/lib/elixir/src/elixir_tokenizer.erl b/lib/elixir/src/elixir_tokenizer.erl
index df466a374..07b9b491d 100644
--- a/lib/elixir/src/elixir_tokenizer.erl
+++ b/lib/elixir/src/elixir_tokenizer.erl
@@ -554,7 +554,7 @@ handle_dot([$., T | Rest], Line, Column, DotColumn, Scope, Tokens) when
?rel_op(T); ?match_op(T); ?pipe_op(T); T == $% ->
handle_call_identifier(Rest, Line, Column + 1, DotColumn, 1, list_to_atom([T]), Scope, Tokens);
-% ## Exception for .( as it needs to be treated specially in the parser
+% ## Exception for .( as it needs to be treated especially in the parser
handle_dot([$., $( | Rest], Line, Column, DotColumn, Scope, Tokens) ->
tokenize([$( | Rest], Line, Column + 2, Scope, add_token_with_nl({dot_call_op, {Line, DotColumn, DotColumn + 1}, '.'}, Tokens));
@@ -791,7 +791,7 @@ tokenize_comment([_ | Rest]) -> tokenize_comment(Rest);
tokenize_comment([]) -> [].
%% Atoms
-%% Handle atoms specially since they support @
+%% Handle atoms especially since they support @
tokenize_atom(T, Acc) ->
tokenize_atom(T, Acc, 0).