Update for Rustc

This commit is contained in:
Pierre Krieger 2015-01-08 20:34:27 +01:00
parent 420a0f0fd4
commit 23e1e0639c
5 changed files with 87 additions and 81 deletions

View file

@ -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();