Apply rustfmt to ListNode::new function

This commit is contained in:
Philipp Oppermann
2020-01-10 11:44:38 +01:00
parent 2e1d132a9a
commit 55aec9ebf3

View File

@@ -8,10 +8,7 @@ struct ListNode {
impl ListNode { impl ListNode {
const fn new(size: usize) -> Self { const fn new(size: usize) -> Self {
ListNode { ListNode { size, next: None }
size,
next: None,
}
} }
fn start_addr(&self) -> usize { fn start_addr(&self) -> usize {