Skip to content
This repository was archived by the owner on Nov 4, 2023. It is now read-only.

Commit 7886c13

Browse files
author
Joshua Li
committed
ref: address clippy lint
1 parent 40bf8f3 commit 7886c13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ fn to_fw(c: char) -> Option<char> {
2525
#[inline]
2626
fn rand_kana() -> u32 {
2727
// Highest kana is 0x30FF. 0x30FF - 0x30A0 (lowest kana) = 95.
28-
let ret = 0x30A0 + (fastrand::u32(..) % 95);
29-
ret
28+
0x30A0 + (fastrand::u32(..) % 95)
3029
}
3130

3231
fn main() {

0 commit comments

Comments
 (0)