Skip to main content

luaur_analysis/methods/
syntax_error_operator_eq.rs

1use crate::records::syntax_error::SyntaxError;
2
3impl SyntaxError {
4    #[inline]
5    pub fn operator_eq(&self, rhs: &SyntaxError) -> bool {
6        self.message == rhs.message
7    }
8}