Skip to main content

luaur_ast/methods/
location_operator_eq.rs

1#[allow(non_snake_case)]
2impl crate::records::location::Location {
3    pub fn operator_eq(&self, rhs: &Self) -> bool {
4        self.begin == rhs.begin && self.end == rhs.end
5    }
6}