Fix bug: We have to compare StoreId objects without their base
This commit is contained in:
parent
9c29bf19da
commit
6d31913321
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue