Skip to content

Commit

Permalink
Remove needless mut in paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Sep 23, 2019
1 parent cac7e5f commit 059163f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/render/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ fn build_index(krate: &clean::Crate, cache: &mut Cache) -> String {

let Cache { ref mut search_index,
ref orphan_impl_items,
ref mut paths, .. } = *cache;
ref paths, .. } = *cache;

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

0 comments on commit 059163f

Please sign in to comment.