Skip to content

Commit

Permalink
Import std::num::Num explicitly.
Browse files Browse the repository at this point in the history
It was removed from the prelude as part of <rust-lang/rust#18827>.
  • Loading branch information
Ms2ger committed Nov 24, 2014
1 parent 0a148c8 commit c3338cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/side_offsets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! A group of side offsets, which correspond to top/left/bottom/right for borders, padding,
//! and margins in CSS.

use std::num::{NumCast, Zero};
use std::num::{Num, NumCast, Zero};

/// A group of side offsets, which correspond to top/left/bottom/right for borders, padding,
/// and margins in CSS.
Expand Down

0 comments on commit c3338cb

Please sign in to comment.