Skip to content

Commit

Permalink
chore(deps): update dependency rust to v1.80.0 (#809)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency rust to v1.80.0

* Fix Clippy lints

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ryo Yamashita <[email protected]>
  • Loading branch information
renovate[bot] and qryxip authored Aug 3, 2024
1 parent e22ec47 commit 21290d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions crates/voicevox_core/src/user_dict/word.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ fn calculate_mora_count(pronunciation: &str, accent_type: usize) -> InvalidWordR
/// 一部の種類の文字を、全角文字に置き換える。
///
/// 具体的には
///
/// - "!"から"~"までの範囲の文字(数字やアルファベット)は、対応する全角文字に
/// - " "などの目に見えない文字は、まとめて全角スペース(0x3000)に
///
/// 変換する。
pub(crate) fn to_zenkaku(surface: &str) -> String {
// 元実装:https://github.com/VOICEVOX/voicevox/blob/69898f5dd001d28d4de355a25766acb0e0833ec2/src/components/DictionaryManageDialog.vue#L379-L387
Expand Down
8 changes: 5 additions & 3 deletions crates/voicevox_core_c_api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// ここにあるRustdocはcbindgen向けのものである。safety documentation自体は書くが、Doxygenの慣習に従
// い`<dt>`で書く。
#![allow(clippy::missing_safety_doc)]
// ここにある`#[doc]`はすべてrustdocではなくDoxygen向けのものである。
#![allow(
clippy::doc_lazy_continuation,
clippy::missing_safety_doc // safety documentation自体は書くが、Doxygenの慣習に従い`<dt>`で書く
)]

mod c_impls;
/// cbindgen:ignore
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.79.0
1.80.0

0 comments on commit 21290d0

Please sign in to comment.