Commit 7753986
Fix rand 0.10.x API: use RngExt for random_range method
In rand 0.10.x, random_range was moved from the Rng trait to RngExt.
Update imports in examples/bombs.rs, examples/set_voxel.rs and src/test.rs.
Agent-Logs-Url: https://github.com/splashdust/bevy_voxel_world/sessions/04e1222d-759d-404f-b6bf-769589c211b4
Co-authored-by: splashdust <428824+splashdust@users.noreply.github.com>1 parent 1585173 commit 7753986
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments