From 55aec9ebf3db22c43bd636afcc7343b27f6d0a8f Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 10 Jan 2020 11:44:38 +0100 Subject: [PATCH] Apply rustfmt to ListNode::new function --- src/allocator/linked_list.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/allocator/linked_list.rs b/src/allocator/linked_list.rs index 68c77ab3..e0be7007 100644 --- a/src/allocator/linked_list.rs +++ b/src/allocator/linked_list.rs @@ -8,10 +8,7 @@ struct ListNode { impl ListNode { const fn new(size: usize) -> Self { - ListNode { - size, - next: None, - } + ListNode { size, next: None } } fn start_addr(&self) -> usize {