about summary refs log tree commit diff
path: root/src/librustdoc/html/markdown.rs
diff options
context:
space:
mode:
authorAlexis Beingessner <a.beingessner@gmail.com>2014-11-06 12:25:16 -0500
committerAlexis Beingessner <a.beingessner@gmail.com>2014-11-06 12:26:08 -0500
commiteec145be3f5e5f763e61749a6737f90df8504e05 (patch)
treeff30ca7802a92034a30cb57dcf4c89733b2952b6 /src/librustdoc/html/markdown.rs
parentcf3b2e4fe6044cce018b723de9b21c500c6eac41 (diff)
downloadrust-eec145be3f5e5f763e61749a6737f90df8504e05.tar.gz
rust-eec145be3f5e5f763e61749a6737f90df8504e05.zip
Fallout from collection conventions
Diffstat (limited to 'src/librustdoc/html/markdown.rs')
-rw-r--r--src/librustdoc/html/markdown.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index 3f1590773aa..9dacee1652a 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -242,7 +242,7 @@ pub fn render(w: &mut fmt::Formatter, s: &str, print_toc: bool) -> fmt::Result {
 
         // Make sure our hyphenated ID is unique for this page
         let map = used_header_map.get().unwrap();
-        let id = match map.borrow_mut().find_mut(&id) {
+        let id = match map.borrow_mut().get_mut(&id) {
             None => id,
             Some(a) => { *a += 1; format!("{}-{}", id, *a - 1) }
         };