rust/tests/source/issue-6059/repro.rs

4 lines
102 B
Rust

fn float_range_tests() {
self.coords.x -= rng.gen_range(-self.radius / 2. .. self.radius / 2.);
}