about summary refs log tree commit diff
path: root/src/libstd/env.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-07-08 08:33:13 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-07-27 16:38:25 -0700
commitb3aa1a6d4ac88f68e036a05fdf19be63b522b65d (patch)
tree77f61dd9cef4e552d058de8da0b3463ff71f097b /src/libstd/env.rs
parenta5c12f4e39d32af3c951b66bd2839bc0b5a1125b (diff)
std: Deprecate a number of unstable features
Many of these have long since reached their stage of being obsolete, so this
commit starts the removal process for all of them. The unstable features that
were deprecated are:

* cmp_partial
* fs_time
* hash_default
* int_slice
* iter_min_max
* iter_reset_fuse
* iter_to_vec
* map_in_place
* move_from
* owned_ascii_ext
* page_size
* read_and_zero
* scan_state
* slice_chars
* slice_position_elem
* subslice_offset
Diffstat (limited to 'src/libstd/env.rs')
-rw-r--r--src/libstd/env.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs
index 6842de56d21..d1a49da461e 100644
--- a/src/libstd/env.rs
+++ b/src/libstd/env.rs
@@ -590,6 +590,8 @@ impl ExactSizeIterator for ArgsOs {
 
 /// Returns the page size of the current architecture in bytes.
 #[unstable(feature = "page_size", reason = "naming and/or location may change")]
+#[deprecated(since = "1.3.0",
+             reason = "hasn't seen enough usage to justify inclusion")]
 pub fn page_size() -> usize {
     os_imp::page_size()
 }