It is building again.

This commit is contained in:
Tom Alexander
2022-12-03 21:50:06 -05:00
parent 83881e55b5
commit 13ee93f31c
3 changed files with 3 additions and 3 deletions

View File

@@ -26,6 +26,6 @@ impl<T> List<T> {
}
pub fn get_data(&self) -> Option<&T> {
self.head.map(|rc_node| &rc_node.as_ref().data)
self.head.as_ref().map(|rc_node| &rc_node.data)
}
}