Fix bug: We have to compare StoreId objects without their base

This commit is contained in:
Matthias Beyer 2016-10-15 11:24:42 +02:00
parent 9c29bf19da
commit 6d31913321

View file

@ -157,8 +157,8 @@ impl InternalLinker for Entry {
} }
fn remove_internal_link(&mut self, link: &mut Entry) -> Result<()> { fn remove_internal_link(&mut self, link: &mut Entry) -> Result<()> {
let own_loc = link.get_location().clone(); let own_loc = self.get_location().clone().without_base();
let other_loc = link.get_location().clone(); let other_loc = link.get_location().clone().without_base();
debug!("Removing internal link from {:?} to {:?}", own_loc, other_loc); debug!("Removing internal link from {:?} to {:?}", own_loc, other_loc);