Skip to content

Commit

Permalink
Fix Pointer#+(offset: Int64) docs parameter name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan committed Apr 3, 2024
1 parent c0270c6 commit 62ee222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives.cr
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ struct Pointer(T)
end

# Returns a new pointer whose address is this pointer's address
# incremented by `other * sizeof(T)`.
# incremented by `offset * sizeof(T)`.
#
# ```
# ptr = Pointer(Int32).new(1234)
Expand Down

0 comments on commit 62ee222

Please sign in to comment.