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 f93f422 commit e367d0cCopy full SHA for e367d0c
src/librustdoc/html/render/mod.rs
@@ -1018,8 +1018,7 @@ themePicker.onblur = handleThemeButtonsBlur;
1018
break;
1019
} else {
1020
let e = cur_elem.clone();
1021
- h.children.entry(cur_elem.clone()).or_insert_with(|| Hierarchy::new(e));
1022
- h = h.children.get_mut(&cur_elem).expect("not found child");
+ h = h.children.entry(cur_elem.clone()).or_insert_with(|| Hierarchy::new(e));
1023
}
1024
1025
0 commit comments