Show More
@@ -91,9 +91,7 b' impl Node {' | |||||
91 |
|
91 | |||
92 | match &mut self.kind { |
|
92 | match &mut self.kind { | |
93 | NodeKind::Directory(directory) => { |
|
93 | NodeKind::Directory(directory) => { | |
94 | Node::insert_in_directory( |
|
94 | Node::insert_in_directory(directory, new_entry, head, tail) | |
95 | directory, new_entry, head, tail, |
|
|||
96 | ) |
|
|||
97 | } |
|
95 | } | |
98 | NodeKind::File(_) => { |
|
96 | NodeKind::File(_) => { | |
99 | unreachable!("The file case has already been handled") |
|
97 | unreachable!("The file case has already been handled") |
General Comments 0
You need to be logged in to leave comments.
Login now