Skip to content

Commit

Permalink
release v0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
blueshen committed Mar 14, 2023
1 parent dd2cff2 commit 2ea5d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/core/char_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ pub fn regularize(input: char) -> char {
input_code += 32; // lowercase
}
let to_char = char::from_u32(input_code).unwrap();

to_char
}

Expand Down
4 changes: 2 additions & 2 deletions src/core/lexeme_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ impl PartialOrd<Self> for LexemePath {
impl Eq for LexemePath {}
impl PartialEq for LexemePath {
fn eq(&self, other: &Self) -> bool {
return if self.path_begin == other.path_begin
&& self.path_end == other.path_end
return if self.get_path_begin() == other.get_path_begin()
&& self.get_path_end() == other.get_path_end()
&& self.payload_length == other.payload_length
&& self.lexeme_list.length() == other.lexeme_list.length()
{
Expand Down

0 comments on commit 2ea5d23

Please sign in to comment.