Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonVandeVyver committed Oct 28, 2024
1 parent 1ff2e0f commit 0879f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sa-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub fn build_ssa(
let mut sa = match construction_algorithm {
SAConstructionAlgorithm::LibSais => libsais64(text, sparseness_factor)?,
SAConstructionAlgorithm::LibDivSufSort => {
libdivsufsort_rs::divsufsort64(&mut text).ok_or("Building suffix array failed")?
libdivsufsort_rs::divsufsort64(&text).ok_or("Building suffix array failed")?
}
};

Expand Down

0 comments on commit 0879f4e

Please sign in to comment.