brson / rust-sdl

SDL bindings for Rust
MIT License
179 stars 52 forks source link

Update rand to 0.3 for latest rust #164

Closed bdero closed 9 years ago

bdero commented 9 years ago

Rust no longer compiles rand 0.2:

rand-0.2.1/src/distributions/range.rs:155:17: 155:44 error: type annotations required: cannot resolve `<f32 as core::ops::Add<_>>::Output == f32` [E0284]

But rand 0.3.4 compiles and is working well with rust-sdl.

(Tested against rustc 1.0.0-nightly (6cf3b0b74 2015-03-30) (built 2015-03-31))

This just bumps the rand version.

lifthrasiir commented 9 years ago

Thank you!