Skip to content

Commit 87d17be

Browse files
committed
core: Add modules for remaining scalar types
1 parent 0dacefb commit 87d17be

File tree

14 files changed

+29
-5
lines changed

14 files changed

+29
-5
lines changed

src/libcore/core.rc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ This behavior can be disabled with the `no_core` crate attribute."
2828

2929
)];
3030

31-
export box, char, float, bessel, f32, f64, int, str, ptr;
32-
export uint, u8, u32, u64, vec, bool;
31+
export int, i8, i16, i32, i64;
32+
export uint, u8, u16, u32, u64;
33+
export float, f32, f64;
34+
export box, char, str, ptr, vec, bool;
3335
export either, option, result, iter;
3436
export ctypes, sys, unsafe, comm, task, logging;
3537
export extfmt;
36-
export math;
38+
export math, bessel;
3739
export tuple;
3840

3941
// Built-in-type support modules
@@ -45,10 +47,15 @@ mod bessel;
4547
mod f32;
4648
mod f64;
4749
mod int;
50+
mod i8;
51+
mod i16;
52+
mod i32;
53+
mod i64;
4854
mod str;
4955
mod ptr;
5056
mod uint;
5157
mod u8;
58+
mod u16;
5259
mod u32;
5360
mod u64;
5461
mod vec;

src/libcore/f32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#[doc = "Floating point operations and constants for `f32`"];
1+
#[doc = "Operations and constants constants for `f32`"];
22

33
// PORT
44

src/libcore/f64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#[doc = "Floating point operations and constants for `f64`"];
1+
#[doc = "Operations and constants constants for `f64`"];
22

33
// PORT
44

src/libcore/float.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[doc = "Operations and constants constants for `float`"];
2+
13
/*
24
Module: float
35
*/

src/libcore/i16.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#[doc = "Operations and constants constants for `i16`"];

src/libcore/i32.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#[doc = "Operations and constants constants for `i32`"];

src/libcore/i64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#[doc = "Operations and constants constants for `i64`"];

src/libcore/i8.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#[doc = "Operations and constants constants for `i8`"];

src/libcore/int.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[doc = "Operations and constants constants for `int`"];
2+
13
/*
24
Module: int
35
*/

src/libcore/u16.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#[doc = "Operations and constants constants for `u16`"];

src/libcore/u32.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[doc = "Operations and constants constants for `u32`"];
2+
13
/*
24
Module: u32
35
*/

src/libcore/u64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[doc = "Operations and constants constants for `u64`"];
2+
13
/*
24
Module: u64
35
*/

src/libcore/u8.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[doc = "Operations and constants constants for `u8`"];
2+
13
/*
24
Module: u8
35
*/

src/libcore/uint.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[doc = "Operations and constants constants for `uint`"];
2+
13
/*
24
Module: uint
35
*/

0 commit comments

Comments
 (0)