Skip to content

Commit

Permalink
impl Copy for Buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 3, 2023
1 parent f2d5e27 commit 9c8ced9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ impl Default for Buffer {
}
}

impl Copy for Buffer {}

impl Clone for Buffer {
#[inline]
fn clone(&self) -> Self {
Expand Down

0 comments on commit 9c8ced9

Please sign in to comment.