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 {
const fn new(size: usize) -> Self {
ListNode {
size,
next: None,
}
ListNode { size, next: None }
}
fn start_addr(&self) -> usize {