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:
Matthias Beyer 2017-10-13 10:22:20 +02:00
parent 1d270ee1cf
commit 797b764027

View file

@ -80,6 +80,7 @@ impl Annotateable for Entry {
if name == ann_name {
let _ = try!(self.remove_internal_link(&mut anno));
return Ok(Some(anno));
}
}