Skip to content

Commit

Permalink
Make Array.to_pointer private
Browse files Browse the repository at this point in the history
Now that types are namespace-private, this method no longer needs to be
public.
  • Loading branch information
yorickpeterse committed Jul 22, 2023
1 parent 6f7a378 commit 58e7a4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/src/std/array.inko
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,7 @@ class builtin Array[T] {
}
}

# Returns a pointer to the underlying memory buffer.
fn pub to_pointer -> Pointer[Int8] {
fn to_pointer -> Pointer[Int8] {
@buffer
}

Expand Down

0 comments on commit 58e7a4a

Please sign in to comment.