Fix: Return annotation object when found
Before we did not return the annotation object after unlinking it. This patch fixes this.
This commit is contained in:
parent
1d270ee1cf
commit
797b764027
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ impl Annotateable for Entry {
|
|||
|
||||
if name == ann_name {
|
||||
let _ = try!(self.remove_internal_link(&mut anno));
|
||||
return Ok(Some(anno));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue