Skip to content

Commit 5172981

Browse files
author
Jorge Aparicio
committed
librustdoc: remove unnecessary as_mut_slice calls
1 parent a0a354f commit 5172981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ impl Context {
12611261
}
12621262

12631263
for (_, items) in map.iter_mut() {
1264-
items.as_mut_slice().sort();
1264+
items.sort();
12651265
}
12661266
return map;
12671267
}

0 commit comments

Comments
 (0)