From a0984950da67419ec9e0dec46263d02cfba237bd Mon Sep 17 00:00:00 2001 From: Lachlan Dowding Date: Thu, 4 Apr 2024 05:09:39 +1000 Subject: [PATCH] Fix `Pointer#+(offset: Int64)` docs parameter name typo --- src/primitives.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/primitives.cr b/src/primitives.cr index 7cb478ebf0cf..f260f2cd718f 100644 --- a/src/primitives.cr +++ b/src/primitives.cr @@ -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)