Fallout from deprecation

This commit handles the fallout from deprecating `_with` and `_equiv` methods.
This commit is contained in:
Aaron Turon
2014-11-12 15:51:51 -08:00
parent 80a2867ea7
commit 7213de1c49
21 changed files with 56 additions and 49 deletions

View File

@@ -2122,7 +2122,7 @@ impl<'a> fmt::Show for Sidebar<'a> {
fn block(w: &mut fmt::Formatter, short: &str, longty: &str,
cur: &clean::Item, cx: &Context) -> fmt::Result {
let items = match cx.sidebar.find_equiv(short) {
let items = match cx.sidebar.get(short) {
Some(items) => items.as_slice(),
None => return Ok(())
};