Skip to content

Commit

Permalink
Add explaination for DynamicBuffer's Movable conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
camio committed Sep 12, 2023
1 parent ecce350 commit 81fabb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Hylo/DynamicBuffer.hylo
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public type DynamicBuffer<Header: Deinitializable, Element>: Deinitializable, Mo

}

// TODO: This trait was added as a workaround for #1002 since DynamicBuffer
// is initialized in the Array constructor
public conformance DynamicBuffer: Movable {

fun take_value(from source: sink Self) -> {self: Self, Void} {
Expand Down

0 comments on commit 81fabb3

Please sign in to comment.