pub fn remove_note(notes: &mut Vec<Note>, annotated: &ObjectId)
Remove the note for annotated from an in-memory note list, if present.
annotated