Skip to content

Commit

Permalink
Remove incorrect comment about behavior of put_slice
Browse files Browse the repository at this point in the history
Since tokio-rs#170 is fixed, this is no longer true.
  • Loading branch information
benesch committed Dec 24, 2019
1 parent 39b6646 commit fa140b6
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 @@ -646,7 +646,6 @@ impl BytesMut {
/// Appends given bytes to this object.
///
/// If this `BytesMut` object has not enough capacity, it is resized first.
/// So unlike `put_slice` operation, `extend_from_slice` does not panic.
///
/// # Examples
///
Expand Down

0 comments on commit fa140b6

Please sign in to comment.