Skip to content

Commit

Permalink
remove inline-able todo
Browse files Browse the repository at this point in the history
reserve is already inline-able
  • Loading branch information
braddunbar committed Mar 2, 2024
1 parent 869c3b4 commit 0211037
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bytes_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,6 @@ impl Extend<u8> for BytesMut {

// TODO: optimize
// 1. If self.kind() == KIND_VEC, use Vec::extend
// 2. Make `reserve` inline-able
for b in iter {
self.put_u8(b);
}
Expand Down

0 comments on commit 0211037

Please sign in to comment.