Skip to content

Commit

Permalink
reformat with cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonVandeVyver committed Sep 12, 2024
1 parent b145e77 commit 3623691
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sa-index/src/sa_searcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,8 @@ impl Searcher {
while index_in_search_string < search_string.len()
&& index_in_suffix < self.proteins.text.len()
&& (search_string[index_in_search_string] == self.proteins.text.get(index_in_suffix)
|| (search_string[index_in_search_string] == b'L'
&& self.proteins.text.get(index_in_suffix) == b'I')
|| (search_string[index_in_search_string] == b'I'
&& self.proteins.text.get(index_in_suffix) == b'L'))
|| (search_string[index_in_search_string] == b'L' && self.proteins.text.get(index_in_suffix) == b'I')
|| (search_string[index_in_search_string] == b'I' && self.proteins.text.get(index_in_suffix) == b'L'))
{
index_in_suffix += 1;
index_in_search_string += 1;
Expand Down

0 comments on commit 3623691

Please sign in to comment.