提交 51729812 编写于 作者: J Jorge Aparicio

librustdoc: remove unnecessary `as_mut_slice` calls

上级 a0a354ff
......@@ -1261,7 +1261,7 @@ fn build_sidebar(&self, m: &clean::Module) -> HashMap<String, Vec<String>> {
}
for (_, items) in map.iter_mut() {
items.as_mut_slice().sort();
items.sort();
}
return map;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册