From 58e7a4ae8a3c64565e40d84859cc6a26e67692dc Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Sun, 23 Jul 2023 01:49:52 +0200 Subject: [PATCH] Make Array.to_pointer private Now that types are namespace-private, this method no longer needs to be public. --- std/src/std/array.inko | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/std/src/std/array.inko b/std/src/std/array.inko index 9b9350262..7fc85a015 100644 --- a/std/src/std/array.inko +++ b/std/src/std/array.inko @@ -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 }