Skip to content

Commit c7fbacc

Browse files
committed
---
yaml --- r: 79796 b: refs/heads/try c: 8445009 h: refs/heads/master v: v3
1 parent eb00ec4 commit c7fbacc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: ba9fa89bfb4aae53db93e9ecac31807af96356fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 54ae2800ffb30513f89ce13d27ac3c8d095d98ac
5-
refs/heads/try: 0fcb85997db852350c104b40e3d7c78214bb0708
5+
refs/heads/try: 8445009a846877fe66160d126566e9757db05cd2
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/num/num.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
1616
#[allow(missing_doc)];
1717

18+
use clone::{Clone, DeepClone};
1819
use cmp::{Eq, ApproxEq, Ord};
1920
use ops::{Add, Sub, Mul, Div, Rem, Neg};
2021
use ops::{Not, BitAnd, BitOr, BitXor, Shl, Shr};
@@ -274,7 +275,9 @@ pub trait Bounded {
274275
/// Specifies the available operations common to all of Rust's core numeric primitives.
275276
/// These may not always make sense from a purely mathematical point of view, but
276277
/// may be useful for systems programming.
277-
pub trait Primitive: Num
278+
pub trait Primitive: Clone
279+
+ DeepClone
280+
+ Num
278281
+ NumCast
279282
+ Bounded
280283
+ Neg<Self>

0 commit comments

Comments
 (0)