Skip to content

Commit c3338cb

Browse files
committed
Import std::num::Num explicitly.
It was removed from the prelude as part of <rust-lang/rust#18827>.
1 parent 0a148c8 commit c3338cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/side_offsets.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//! A group of side offsets, which correspond to top/left/bottom/right for borders, padding,
1111
//! and margins in CSS.
1212
13-
use std::num::{NumCast, Zero};
13+
use std::num::{Num, NumCast, Zero};
1414

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

0 commit comments

Comments
 (0)