Skip to content

Commit 54b8199

Browse files
committed
core: Inherit the clone module
1 parent e7eed5f commit 54b8199

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
@@ -33,6 +33,7 @@ pub mod ptr;
3333
pub mod kinds;
3434
pub mod ops;
3535
pub mod ty;
36+
pub mod clone;
3637
pub mod default;
3738
pub mod container;
3839

src/libstd/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ extern crate core;
140140
pub use core::any;
141141
pub use core::cast;
142142
pub use core::char;
143+
pub use core::clone;
143144
pub use core::container;
144145
pub use core::default;
145146
pub use core::intrinsics;
@@ -218,7 +219,6 @@ pub mod from_str;
218219
pub mod num;
219220
pub mod iter;
220221
pub mod to_str;
221-
pub mod clone;
222222
pub mod hash;
223223

224224
/* Common data structures */

0 commit comments

Comments
 (0)