Skip to content

Commit

Permalink
Fix typo mutli to multi (crystal-lang#5547)
Browse files Browse the repository at this point in the history
* tools/formatter: Fix typo

mutli -> multi

* Fix typo in comment

Mutliple -> Multiple
  • Loading branch information
noriyotcp authored and RX14 committed Jan 6, 2018
1 parent a06bf0f commit 161c17a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/compiler/crystal/tools/formatter.cr
Original file line number Diff line number Diff line change
Expand Up @@ -3522,12 +3522,12 @@ module Crystal
else
write " "
end
format_mutli_assign_values node.values
format_multi_assign_values node.values

false
end

def format_mutli_assign_values(values)
def format_multi_assign_values(values)
if values.size == 1
accept_assign_value values.first
else
Expand Down
2 changes: 1 addition & 1 deletion src/file.cr
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ class File < IO::FileDescriptor
end

# Yields an `IO` to read a section inside this file.
# Mutliple sections can be read concurrently.
# Multiple sections can be read concurrently.
def read_at(offset, bytesize, &block)
self_bytesize = self.size

Expand Down
2 changes: 1 addition & 1 deletion src/io.cr
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ abstract class IO
# The `IO` class raises on this method, but some subclasses, notable
# `File` and `IO::Memory` implement it.
#
# Mutliple sections can be read concurrently.
# Multiple sections can be read concurrently.
def read_at(offset, bytesize, &block)
raise Error.new "Unable to read_at"
end
Expand Down

0 comments on commit 161c17a

Please sign in to comment.