We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 274f78b commit 1b13b56Copy full SHA for 1b13b56
src/render/node_collection.rs
@@ -54,7 +54,7 @@ impl NodeCollection {
54
}
55
56
#[inline(always)]
57
- pub fn get(&mut self, index: usize) -> Option<&RefCell<Node>> {
+ pub fn get(&self, index: usize) -> Option<&RefCell<Node>> {
58
self.nodes[index].as_ref()
59
60
0 commit comments