Skip to content

Commit 161c17a

Browse files
noriyotcpRX14
authored andcommittedJan 6, 2018
Fix typo mutli to multi (#5547)
* tools/formatter: Fix typo mutli -> multi * Fix typo in comment Mutliple -> Multiple
1 parent a06bf0f commit 161c17a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

Diff for: ‎src/compiler/crystal/tools/formatter.cr

+2-2
Original file line numberDiff line numberDiff line change
@@ -3522,12 +3522,12 @@ module Crystal
35223522
else
35233523
write " "
35243524
end
3525-
format_mutli_assign_values node.values
3525+
format_multi_assign_values node.values
35263526

35273527
false
35283528
end
35293529

3530-
def format_mutli_assign_values(values)
3530+
def format_multi_assign_values(values)
35313531
if values.size == 1
35323532
accept_assign_value values.first
35333533
else

Diff for: ‎src/file.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ class File < IO::FileDescriptor
520520
end
521521

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

Diff for: ‎src/io.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ abstract class IO
11151115
# The `IO` class raises on this method, but some subclasses, notable
11161116
# `File` and `IO::Memory` implement it.
11171117
#
1118-
# Mutliple sections can be read concurrently.
1118+
# Multiple sections can be read concurrently.
11191119
def read_at(offset, bytesize, &block)
11201120
raise Error.new "Unable to read_at"
11211121
end

0 commit comments

Comments
 (0)
Please sign in to comment.