Skip to content

Commit

Permalink
Remove duplicated word 'the' (#5733)
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust authored and RX14 committed Feb 20, 2018
1 parent 4f2e846 commit 5911da0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion spec/std/enumerable_spec.cr
Expand Up @@ -778,7 +778,7 @@ describe "Enumerable" do
[1, 2, 3].skip_while { true }.should eq [] of Int32
end

it "returns the full Array if the the first check is false" do
it "returns the full Array if the first check is false" do
[5, 0, 1, 2, 3].skip_while { |x| x < 4 }.should eq [5, 0, 1, 2, 3]
end

Expand Down
4 changes: 2 additions & 2 deletions src/debug/dwarf/line_numbers.cr
Expand Up @@ -75,11 +75,11 @@ module Debug
# the decoded matrix) isn't meaningful.
property end_sequence : Bool

# Indicates the the instruction is one where execution should be
# Indicates the instruction is one where execution should be
# suspended (for an entry breakpoint).
property prologue_end : Bool

# Indicates the the instruction is one where execution should be
# Indicates the instruction is one where execution should be
# suspended (for an exit breakpoint).
property epilogue_begin : Bool

Expand Down
4 changes: 2 additions & 2 deletions src/iterator.cr
Expand Up @@ -671,7 +671,7 @@ module Iterator(T)
end
end

# Returns an iterator that only returns elements for which the the passed in
# Returns an iterator that only returns elements for which the passed in
# block returns a falsey value.
#
# ```
Expand Down Expand Up @@ -700,7 +700,7 @@ module Iterator(T)
end
end

# Returns an iterator that only returns elements for which the the passed
# Returns an iterator that only returns elements for which the passed
# in block returns a truthy value.
#
# ```
Expand Down
2 changes: 1 addition & 1 deletion src/time/location.cr
Expand Up @@ -163,7 +163,7 @@ class Time::Location
# The value is loaded on first access based on the current application environment (see `.load_local` for details).
class_property(local : Location) { load_local }

# Loads the local location described by the the current application environment.
# Loads the local location described by the current application environment.
#
# It consults the environment variable `ENV["TZ"]` to find the time zone to use.
# * `"UTC"` and empty string `""` return `Location::UTC`
Expand Down

0 comments on commit 5911da0

Please sign in to comment.