From 67e184f349e2f1783d003f1a308f2aacbf43a03c Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Mon, 21 Aug 2023 14:09:41 +0200 Subject: [PATCH] Fix formatting (#138) --- src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ebca7e4..7fc6f1a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -141,12 +141,15 @@ pub struct Slab { next: usize, } -impl Clone for Slab where T: Clone { +impl Clone for Slab +where + T: Clone, +{ fn clone(&self) -> Self { Self { entries: self.entries.clone(), len: self.len, - next: self.next + next: self.next, } }