From e5987a062f487321bdfcbbdac4b0b30548258631 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Sun, 19 Jan 2020 20:50:00 +0100 Subject: Format --- src/liballoc/collections/linked_list.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/liballoc/collections') diff --git a/src/liballoc/collections/linked_list.rs b/src/liballoc/collections/linked_list.rs index 463ec67d668..399dbe5e4bf 100644 --- a/src/liballoc/collections/linked_list.rs +++ b/src/liballoc/collections/linked_list.rs @@ -1566,10 +1566,13 @@ where { fn drop(&mut self) { struct DropGuard<'r, 'a, T, F>(&'r mut DrainFilter<'a, T, F>) - where F: FnMut(&mut T) -> bool; + where + F: FnMut(&mut T) -> bool; impl<'r, 'a, T, F> Drop for DropGuard<'r, 'a, T, F> - where F: FnMut(&mut T) -> bool { + where + F: FnMut(&mut T) -> bool, + { fn drop(&mut self) { self.0.for_each(drop); } -- cgit 1.4.1-3-g733a5