about summary refs log tree commit diff
path: root/src/libstd/ptr.rs
AgeCommit message (Collapse)AuthorLines
2013-06-11fix the docstring for copy_nonoverlapping_memoryDaniel Micay-9/+25
2013-06-11fix the ptr::set_memory docstringDaniel Micay-4/+4
2013-06-09remove unused import warningsHuon Wilson-2/+0
2013-06-06libc: omit memcpy, memmove and memsetDaniel Micay-23/+1
LLVM provides these functions as intrinsics, and will generate calls to libc when appropriate. They are exposed in the `ptr` module as `copy_nonoverlapping_memory`, `copy_memory` and `set_memory`.
2013-06-03rename the Ptr trait to RawPtrDaniel Micay-3/+3
Closes #6607
2013-06-02ptr: split out borrowed pointer utilitiesDaniel Micay-46/+0
The ptr module is intended to be for raw pointers. Closes #3111
2013-05-31ptr: replace unnecessary unsafe codeDaniel Micay-58/+18
2013-05-31mv the raw pointer {swap,replace}_ptr to std::ptrDaniel Micay-0/+31
2013-05-30Require documentation by default for libstdAlex Crichton-0/+29
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-9/+15
2013-05-28Silence various warnings throughout test modulesAlex Crichton-2/+2
2013-05-27fix casts on 32-bitDaniel Micay-1/+1
2013-05-26add memset32/memset64Daniel Micay-0/+24
2013-05-26make the memcpy/memmove intrinsics higher-levelDaniel Micay-19/+41
This allows them to make use of the type's alignment, instead of being pessimistic and assuming it is only 1.
2013-05-23optimize util::swap, &mut pointers never aliasDaniel Micay-0/+22
2013-05-23swap_ptr: rm equality checkDaniel Micay-0/+1
This isn't needed semantically, and it's the wrong case to optimize for.
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+561
This only changes the directory names; it does not change the "real" metadata names.
2011-12-14Remove some duplicated unused parts of std now that they're present in core.Graydon Hoare-52/+0
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+52