Skip to content
Snippets Groups Projects
Commit 07db74b0 authored by Stepan Koltsov's avatar Stepan Koltsov Committed by Carl Lerche
Browse files

Bytes::extend_from_slice (#120)

`extend_with_slice` is super-convenient operation on `Bytes`.

While `put_u8` would be expensive on `Bytes`, `extend_from_slice`
is OK, because it is batch, and it checks for kind only once.

Patch also adds `impl Extend for Bytes`.

cc #116
parent 6af66c4f
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