Use num-traits in style.

This commit is contained in:
Ms2ger 2016-04-20 15:11:41 +02:00
parent ff042fdf9c
commit 0f2b83ca0f
8 changed files with 8 additions and 8 deletions

View file

@ -512,7 +512,7 @@ impl MaybeNew for ViewportConstraints {
rule: &ViewportRule)
-> Option<ViewportConstraints>
{
use num::{Float, ToPrimitive};
use num_traits::{Float, ToPrimitive};
use std::cmp;
if rule.declarations.is_empty() {