Skip to content

Commit

Permalink
Fix mut
Browse files Browse the repository at this point in the history
jcs090218 committed Oct 29, 2021
1 parent 3edf1c1 commit 5363a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/dynmod.rs
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ fn flx_rs_score(source: &str, pattern: &str) -> Option<Vec<i32>> {
return None;
}
let _result: flx_rs::Score = result.unwrap();
let vec: Vec<i32> = _result.indices.clone();
let mut vec: Vec<i32> = _result.indices.clone();
vec.insert(0, _result.score);
return Some(vec)
}

0 comments on commit 5363a6f

Please sign in to comment.