Returns `true` if `right` is `Some` and `left` and `right` are referentially equal.
(left: AnyNodeRef, right: Option<T>)
| 752 | |
| 753 | /// Returns `true` if `right` is `Some` and `left` and `right` are referentially equal. |
| 754 | fn are_same_optional<'a, T>(left: AnyNodeRef, right: Option<T>) -> bool |
| 755 | where |
| 756 | T: Into<AnyNodeRef<'a>>, |
| 757 | { |
| 758 | right.is_some_and(|right| left.ptr_eq(right.into())) |
| 759 | } |
no test coverage detected