about summary refs log tree commit diff
path: root/src/libstd/old_io
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-01 14:22:58 +0000
committerbors <bors@rust-lang.org>2015-03-01 14:22:58 +0000
commit157614249594f187f421cd97f928e64c5ab5c1fa (patch)
treec54ac5a56b9f7040e48e8a079cb6042bbcb5f1e7 /src/libstd/old_io
parent0eb0ba38d0893f711e68321d3e6fe28a929cd00e (diff)
parentd79e91033770fc5a760d34511769f5ba6c872c77 (diff)
downloadrust-157614249594f187f421cd97f928e64c5ab5c1fa.tar.gz
rust-157614249594f187f421cd97f928e64c5ab5c1fa.zip
Auto merge of #22880 - alexcrichton:deprecate-io-extensions, r=huonw
The `u64_from_be_bytes` and `u64_to_be_bytes` functions are being deprecated
with no replacement for now.

[breaking-change]
Diffstat (limited to 'src/libstd/old_io')
-rw-r--r--src/libstd/old_io/extensions.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/old_io/extensions.rs b/src/libstd/old_io/extensions.rs
index 8bd19f063f0..45a86a9fde7 100644
--- a/src/libstd/old_io/extensions.rs
+++ b/src/libstd/old_io/extensions.rs
@@ -11,6 +11,10 @@
 //! Utility mixins that apply to all Readers and Writers
 
 #![allow(missing_docs)]
+#![unstable(feature = "old_io")]
+#![deprecated(since = "1.0.0",
+              reason = "functionality will be removed with no immediate \
+                        replacement")]
 
 // FIXME: Not sure how this should be structured
 // FIXME: Iteration should probably be considered separately