Skip to main content

resolution_edit

Function resolution_edit 

Source
pub fn resolution_edit(
    annotation: &Annotation,
    resolved: bool,
) -> Option<AnnotationEdit>
Expand description

Computes the edit needed to change an annotation’s resolution status.

This is the lower-level function that works directly on an Annotation reference. Use toggle_annotation_resolution for position-based lookup.