diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-07-08 08:33:13 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-07-27 16:38:25 -0700 |
| commit | b3aa1a6d4ac88f68e036a05fdf19be63b522b65d (patch) | |
| tree | 77f61dd9cef4e552d058de8da0b3463ff71f097b /src/libstd/fs.rs | |
| parent | a5c12f4e39d32af3c951b66bd2839bc0b5a1125b (diff) | |
| download | rust-b3aa1a6d4ac88f68e036a05fdf19be63b522b65d.tar.gz rust-b3aa1a6d4ac88f68e036a05fdf19be63b522b65d.zip | |
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/fs.rs')
| -rw-r--r-- | src/libstd/fs.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index e5f2fcbae83..a879c2ebd73 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -1225,6 +1225,9 @@ impl PathExt for Path { reason = "the argument type of u64 is not quite appropriate for \ this function and may change if the standard library \ gains a type to represent a moment in time")] +#[deprecated(since = "1.3.0", + reason = "will never be stabilized as-is and its replacement will \ + likely have a totally new API")] pub fn set_file_times<P: AsRef<Path>>(path: P, accessed: u64, modified: u64) -> io::Result<()> { fs_imp::utimes(path.as_ref(), accessed, modified) |
