Skip to content

Commit 059163f

Browse files
Remove needless mut in paths
1 parent cac7e5f commit 059163f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/render/cache.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ fn build_index(krate: &clean::Crate, cache: &mut Cache) -> String {
548548

549549
let Cache { ref mut search_index,
550550
ref orphan_impl_items,
551-
ref mut paths, .. } = *cache;
551+
ref paths, .. } = *cache;
552552

553553
// Attach all orphan items to the type's definition if the type
554554
// has since been learned.

0 commit comments

Comments
 (0)