Update for Rustc
This commit is contained in:
parent
420a0f0fd4
commit
23e1e0639c
5 changed files with 87 additions and 81 deletions
|
|
@ -7,7 +7,7 @@ fn main() {
|
|||
let mut data_source =
|
||||
std::iter::iterate(0.0f32, |f| f + 0.03)
|
||||
.map(|angle| {
|
||||
use std::num::FloatMath;
|
||||
use std::num::Float;
|
||||
use std::num::Int;
|
||||
|
||||
let angle = angle.sin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue