Skip to content

Commit

Permalink
Add a note for future deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
kyouko-taiga committed Sep 20, 2023
1 parent ba653b2 commit 845edc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Hylo/Core/PointerToMutable.hylo
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 845edc1

Please sign in to comment.