Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[project-vvm-async-api] Fix up #534 #535

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Jul 1, 2023

内容

#534 で、write_unalignedを間違えてwrite_volatileにしていた箇所があったので修正します。
(補完に出たのをそのまま打ってしまいました)

関連 Issue

その他

Comment on lines +33 to +36
/// - `out_ptr`は書き込みについて[有効]でなければならない。
/// - `out_len`は書き込みについて[有効]でなければならない。
///
/// [有効]: https://doc.rust-lang.org/stable/std/ptr/index.html#safety
Copy link
Member Author

@qryxip qryxip Jul 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ついでにここも更新。

「書き込みについて有効」という言い方も微妙かもしれませんが、write_unalignedのsafetyがこうなっており、またこの言い回しについての日本語訳の先例が見当たらなかったので、これをそのまま訳す形にしました。

image

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

見逃していました、すみません!!

@Hiroshiba Hiroshiba merged commit fa45b51 into VOICEVOX:project-vvm-async-api Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants