Skip to content
Snippets Groups Projects
Commit 83f68a01 authored by Rafael Ávila de Espíndola's avatar Rafael Ávila de Espíndola Committed by Carl Lerche
Browse files

Implement IntoBuf for mut slices. (#214)

With this if foo is a mutable slice, it is possible to do

foo.into_buf().put_u32_le(42);

Before this patch into_buf would create a Cursor<&'a [u8]> and it
would not be possible to write into it.
parent 63211d8c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment