From 64bd29d93de24a5faf2ca1413ef3da0d66048f43 Mon Sep 17 00:00:00 2001 From: tuna2134 Date: Tue, 10 Sep 2024 01:30:11 +0000 Subject: [PATCH] clippy --- sbv2_core/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbv2_core/src/main.rs b/sbv2_core/src/main.rs index b625160..74d3543 100644 --- a/sbv2_core/src/main.rs +++ b/sbv2_core/src/main.rs @@ -15,7 +15,7 @@ fn main() -> error::Result<()> { let tones = utils::intersperse(&tones, 0); let lang_ids = utils::intersperse(&lang_ids, 0); for i in 0..word2ph.len() { - word2ph[i] = word2ph[i] * 2; + word2ph[i] *= 2; } word2ph[0] += 1;