From 845edc10a48905c340b04e4e22bfe00394e901d0 Mon Sep 17 00:00:00 2001 From: Dimi Racordon Date: Wed, 20 Sep 2023 10:38:39 +0200 Subject: [PATCH] Add a note for future deprecation --- Library/Hylo/Core/PointerToMutable.hylo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Hylo/Core/PointerToMutable.hylo b/Library/Hylo/Core/PointerToMutable.hylo index 107f6c44c..d973d098a 100644 --- a/Library/Hylo/Core/PointerToMutable.hylo +++ b/Library/Hylo/Core/PointerToMutable.hylo @@ -87,6 +87,8 @@ public extension PointerToMutable where Pointee: Movable { /// Returns the value at the address represented by `self`, leaving the storage at this address /// uninitialized. + /// + /// Note: This method should be deprecated once nonmutating subscripts are implemented. public fun unsafe_pointee() -> Pointee { return base as* (remote sink Pointee) }