From cd6300e938f24f9ae830cd984b83112af0b2ccdc Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Mon, 26 Nov 2012 22:22:22 -0800 Subject: libstd: turn time::Tm and time::Timespec into structs This avoids #4044 by not using the enum wrapper, and turning Tm_ directly into a struct. Along the way it modernizes the codebase to eliminate no-implicit-copies warnings. --- src/libstd/std.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/libstd/std.rs (limited to 'src/libstd/std.rs') diff --git a/src/libstd/std.rs b/src/libstd/std.rs new file mode 100644 index 00000000000..6fb36aae7d4 --- /dev/null +++ b/src/libstd/std.rs @@ -0,0 +1,7 @@ +// A curious inner-module that's not exported that contains the binding +// 'std' so that macro-expanded references to std::serialization and such +// can be resolved within libcore. +#[doc(hidden)] // FIXME #3538 +mod std { + pub use serialization; +} -- cgit 1.4.1-3-g733a5