Repository navigation
Commit ee0bb64
authored
winsound: drop the imports the NUL-safe PlaySound left behind (#8554)
WideCString::from_vec rejects interior NULs itself, so the explicit check
through exceptions::nul_char_error and the to_wide_with_nul call it fed
both went away; TryFromBorrowedObject arrived unused. Windows clippy
rejects all three, which is every Windows clippy run since.
Assisted-by: Claude1 parent 419a0b2 commit ee0bb64
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
0 commit comments