Skip to content

Commit

Permalink
fix rust lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yosshi999 committed Nov 9, 2024
1 parent 8a44a37 commit a4e64db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/voicevox_core/src/synthesizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ mod inner {
end: usize,
) -> Result<Vec<u8>> {
// TODO: 44.1kHzなどの対応
let spec_segment = crop_with_margin(&audio, start..end)?;
let spec_segment = crop_with_margin(audio, start..end)?;
let wave_with_margin = self
.render_audio_segment(spec_segment.to_owned(), audio.style_id)
.await?;
Expand Down

0 comments on commit a4e64db

Please sign in to comment.