Skip to content

Commit 76ea339

Browse files
authored
Fix Pointer#+(offset: Int64) doc parameter name typo (crystal-lang#14428)
1 parent dbf7aef commit 76ea339

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/primitives.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ struct Pointer(T)
282282
end
283283

284284
# Returns a new pointer whose address is this pointer's address
285-
# incremented by `other * sizeof(T)`.
285+
# incremented by `offset * sizeof(T)`.
286286
#
287287
# ```
288288
# ptr = Pointer(Int32).new(1234)

0 commit comments

Comments
 (0)