mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
Apply rustfmt to ListNode::new function
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user