rust/src/libstd/io
Alex Crichton 54452cdd68 std: Second pass stabilization for ptr
This commit performs a second pass for stabilization over the `std::ptr` module.
The specific actions taken were:

* The `RawPtr` trait was renamed to `PtrExt`
* The `RawMutPtr` trait was renamed to `MutPtrExt`
* The module name `ptr` is now stable.
* These functions were all marked `#[stable]` with no modification:
  * `null`
  * `null_mut`
  * `swap`
  * `replace`
  * `read`
  * `write`
  * `PtrExt::is_null`
  * `PtrExt::offset`
* These functions remain unstable:
  * `as_ref`, `as_mut` - the return value of an `Option` is not fully expressive
                         as null isn't the only bad value, and it's unclear
                         whether we want to commit to these functions at this
                         time. The reference/lifetime semantics as written are
                         also problematic in how they encourage arbitrary
                         lifetimes.
  * `zero_memory` - This function is currently not used at all in the
                    distribution, and in general it plays a broader role in the
                    "working with unsafe pointers" story. This story is not yet
                    fully developed, so at this time the function remains
                    unstable for now.
  * `read_and_zero` - This function remains unstable for largely the same
                      reasons as `zero_memory`.
* These functions are now all deprecated:
  * `PtrExt::null` - call `ptr::null` or `ptr::null_mut` instead.
  * `PtrExt::to_uint` - use an `as` expression instead.
  * `PtrExt::is_not_null` - use `!p.is_null()` instead.
2014-12-29 15:57:28 -08:00
..
net Fix fallout 2014-12-27 09:55:25 +13:00
buffered.rs Implement RaceBox for StdinReader 2014-12-26 17:26:33 +01:00
comm_adapters.rs Stabilize clone 2014-12-20 00:37:44 -08:00
extensions.rs std: Second pass stabilization for ptr 2014-12-29 15:57:28 -08:00
fs.rs Fix fallout of removing import_shadowing in tests. 2014-12-20 07:49:37 +02:00
mem.rs Fix fallout 2014-12-27 09:55:25 +13:00
mod.rs std: Second pass stabilization for ptr 2014-12-29 15:57:28 -08:00
pipe.rs Mostly rote conversion of proc() to move|| (and occasionally Thunk::new) 2014-12-14 04:21:56 -05:00
process.rs Fix fallout 2014-12-27 09:55:25 +13:00
result.rs Utilize fewer reexports 2014-12-05 18:13:04 -05:00
stdio.rs Fallout of changing format_args!(f, args) to f(format_args!(args)). 2014-12-27 23:57:43 +02:00
tempfile.rs Replaced wrapper functions with no_run and as_str().unwrap() with display() 2014-12-17 07:21:29 +01:00
test.rs /*! -> //! 2014-11-26 16:50:14 -08:00
timer.rs Fix fallout of removing import_shadowing in tests. 2014-12-20 07:49:37 +02:00
util.rs libstd: use #[deriving(Copy)] 2014-12-19 10:51:00 -05:00