Skip to content

Commit 2862466

Browse files
committed
core: Inherit the cast module
1 parent 645b157 commit 2862466

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed
File renamed without changes.

src/libcore/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
/* Core modules for ownership management */
2525

26+
pub mod cast;
2627
pub mod intrinsics;
2728
pub mod mem;
2829
pub mod ptr;

src/libstd/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ extern crate core;
133133
#[cfg(test)] pub use ty = realstd::ty;
134134
#[cfg(test)] pub use owned = realstd::owned;
135135

136+
pub use core::cast;
136137
pub use core::intrinsics;
137138
pub use core::mem;
138139
pub use core::ptr;
@@ -242,7 +243,6 @@ pub mod c_vec;
242243
pub mod os;
243244
pub mod io;
244245
pub mod path;
245-
pub mod cast;
246246
pub mod fmt;
247247
pub mod cleanup;
248248

0 commit comments

Comments
 (0)