Fix typo in Excerpt::contains (#36621)

Follow-up to #36524 

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-08-20 15:30:11 -04:00 committed by Joseph T. Lyons
parent 8e57f633d0
commit 00ff7b72d7

View file

@ -6998,8 +6998,7 @@ impl Excerpt {
}
fn contains(&self, anchor: &Anchor) -> bool {
anchor.buffer_id == None
|| anchor.buffer_id == Some(self.buffer_id)
(anchor.buffer_id == None || anchor.buffer_id == Some(self.buffer_id))
&& self
.range
.context