Skip to content

Commit 3db50a2

Browse files
committed
cleanup warning
1 parent 3059e6a commit 3db50a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/annotation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ impl Annotation {
685685

686686
/// Removes data from the annotation, does not update any reverse indices!
687687
pub(crate) fn remove_data(&mut self, set: AnnotationDataSetHandle, data: AnnotationDataHandle) {
688-
self.data.retain(|(s, d)| (*s != set && *d != data));
688+
self.data.retain(|(s, d)| *s != set && *d != data);
689689
}
690690

691691
/// Low-level method that returns raw data (handles) at specified index

0 commit comments

Comments
 (0)