write_to_prefix
(and similar ones) take ownership of the buffer
#195
Labels
compatibility-breaking
Changes that are (likely to be) breaking
Please correct me if I'm wrong, but by taking ownership of the buffer, it seems to release the buffer as soon as the function exits, and subsequent code cannot use the buffer.
The method is defined as follows:
I think the method should only borrow the buffer.
Again, correct me if I'm wrong please!
The text was updated successfully, but these errors were encountered: