Skip to content

Commit

Permalink
Fix formatting (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn authored Aug 21, 2023
1 parent 8718c40 commit 67e184f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,15 @@ pub struct Slab<T> {
next: usize,
}

impl<T> Clone for Slab<T> where T: Clone {
impl<T> Clone for Slab<T>
where
T: Clone,
{
fn clone(&self) -> Self {
Self {
entries: self.entries.clone(),
len: self.len,
next: self.next
next: self.next,
}
}

Expand Down

0 comments on commit 67e184f

Please sign in to comment.