Skip to content

Commit f215946

Browse files
committed
---
yaml --- r: 152191 b: refs/heads/try2 c: c2e3aa3 h: refs/heads/master i: 152189: 3fb5fa6 152187: 6af0525 152183: 175f298 152175: 7d21676 152159: b194aa9 152127: 320b8a7 152063: 9eb3cca v: v3
1 parent 63cad19 commit f215946

38 files changed

+444
-88
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: ba9be0a72bd4aabb67e9b72edd261b2fe449dc86
8+
refs/heads/try2: c2e3aa37daedf698072b4aadbc420f24505b2b2d
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libcore/bool.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
//!
1313
//! A `to_bit` conversion function.
1414
15+
#![doc(primitive = "bool")]
16+
1517
use num::{Int, one, zero};
1618

1719
/////////////////////////////////////////////////////////////////////////////

branches/try2/src/libcore/char.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
//! and, as such, should be performed via the `from_u32` function..
2525
2626
#![allow(non_snake_case_functions)]
27+
#![doc(primitive = "char")]
2728

2829
use mem::transmute;
2930
use option::{None, Option, Some};

branches/try2/src/libcore/num/f32.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
//! Operations and constants for 32-bits floats (`f32` type)
1212
13+
#![doc(primitive = "f32")]
14+
1315
use intrinsics;
1416
use mem;
1517
use num::{FPNormal, FPCategory, FPZero, FPSubnormal, FPInfinite, FPNaN};

branches/try2/src/libcore/num/f64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
//! Operations and constants for 64-bits floats (`f64` type)
1212
13+
#![doc(primitive = "f64")]
14+
1315
use intrinsics;
1416
use mem;
1517
use num::{FPNormal, FPCategory, FPZero, FPSubnormal, FPInfinite, FPNaN};

branches/try2/src/libcore/num/i16.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010

1111
//! Operations and constants for signed 16-bits integers (`i16` type)
1212
13+
#![doc(primitive = "i16")]
14+
1315
int_module!(i16, 16)
1416

branches/try2/src/libcore/num/i32.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010

1111
//! Operations and constants for signed 32-bits integers (`i32` type)
1212
13+
#![doc(primitive = "i32")]
14+
1315
int_module!(i32, 32)
1416

branches/try2/src/libcore/num/i64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010

1111
//! Operations and constants for signed 64-bits integers (`i64` type)
1212
13+
#![doc(primitive = "i64")]
14+
1315
int_module!(i64, 64)
1416

branches/try2/src/libcore/num/i8.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010

1111
//! Operations and constants for signed 8-bits integers (`i8` type)
1212
13+
#![doc(primitive = "i8")]
14+
1315
int_module!(i8, 8)
1416

branches/try2/src/libcore/num/int.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
//! Operations and constants for architecture-sized signed integers (`int` type)
1212
13+
#![doc(primitive = "int")]
14+
1315
#[cfg(target_word_size = "32")] int_module!(int, 32)
1416
#[cfg(target_word_size = "64")] int_module!(int, 64)
1517

branches/try2/src/libcore/num/u16.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010

1111
//! Operations and constants for unsigned 16-bits integers (`u16` type)
1212
13+
#![doc(primitive = "u16")]
14+
1315
uint_module!(u16, i16, 16)

branches/try2/src/libcore/num/u32.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010

1111
//! Operations and constants for unsigned 32-bits integers (`u32` type)
1212
13+
#![doc(primitive = "u32")]
14+
1315
uint_module!(u32, i32, 32)
1416

branches/try2/src/libcore/num/u64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010

1111
//! Operations and constants for unsigned 64-bits integer (`u64` type)
1212
13+
#![doc(primitive = "u64")]
14+
1315
uint_module!(u64, i64, 64)
1416

branches/try2/src/libcore/num/u8.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010

1111
//! Operations and constants for unsigned 8-bits integers (`u8` type)
1212
13+
#![doc(primitive = "u8")]
14+
1315
uint_module!(u8, i8, 8)
1416

branches/try2/src/libcore/num/uint.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010

1111
//! Operations and constants for architecture-sized unsigned integers (`uint` type)
1212
13+
#![doc(primitive = "uint")]
14+
1315
uint_module!(uint, int, ::int::BITS)
1416

branches/try2/src/libcore/slice.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
//!
1313
//! For more details `std::slice`.
1414
15+
#![doc(primitive = "slice")]
16+
1517
use mem::transmute;
1618
use clone::Clone;
1719
use container::Container;

branches/try2/src/libcore/str.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
//!
1313
//! For more details, see std::str
1414
15+
#![doc(primitive = "str")]
16+
1517
use mem;
1618
use char;
1719
use clone::Clone;

branches/try2/src/libcore/tuple.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
//! assert_eq!(d, (0u32, 0.0f32));
6060
//! ```
6161
62+
#![doc(primitive = "tuple")]
63+
6264
use clone::Clone;
6365
#[cfg(not(test))] use cmp::*;
6466
#[cfg(not(test))] use default::Default;

0 commit comments

Comments
 (0)