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

Fixed the number of arguments for thread_rng gen_range #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

berysaidi
Copy link

toolchain used: rustc 1.63.0-nightly (5750a6aa2 2022-06-20)

9402 error[E0277]: the trait bound `std::ops::Range<{float}>: SampleUniform` is not satisfied                                                                                                  
9403    --> samples/3d_camera_first_person.rs:17:41                                                                                                                                            
9404     |                                                                                                                                                                                     
9405 17  |         let height: f32 = rng.gen_range(1.0..12.0);                                                                                                                                 
9406     |                               --------- ^^^^^^^^^ the trait `SampleUniform` is not impl                                                                                             
9407 emented for `std::ops::Range<{float}>`                                                                                                                                                    
9408     |                               |                                                                                                                                                     
9409     |                               required by a bound introduced by this call        

@IoIxD
Copy link
Contributor

IoIxD commented Jan 31, 2024

Hi, if you're still interested in working on this, some users of the library are moving over to a fork of it which aims to be actively maintained. It would be nice if you reopened the PR there!

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