rust/src/libstd
Alex Crichton dd59b1fb4c std: Mark mem::forget as a safe function
This commit is an implementation of [RFC 1066][rfc] where the conclusion was
that leaking a value is a safe operation in Rust code, so updating the signature
of this function follows suit.

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1066-safe-mem-forget.md

Closes #25186
2015-05-07 17:25:04 -07:00
..
collections Rollup merge of #25074 - killercup:patch-10, r=alexcrichton 2015-05-05 09:23:43 +05:30
ffi std: Remove deprecated AsOsStr/Str/AsSlice traits 2015-04-21 11:37:34 -07:00
io Auto merge of #25009 - alexcrichton:less-buffered-stream, r=aturon 2015-05-05 18:18:27 +00:00
net Rollup merge of #25105 - tshepang:doc-addr, r=steveklabnik 2015-05-05 09:24:36 +05:30
num std: Don't use a wrapper for the float error type 2015-05-01 16:44:36 -07:00
os remove denied unused import: pid_t in raw 2015-04-30 17:26:53 +02:00
prelude std: Add Default/IntoIterator/ToOwned to the prelude 2015-04-17 16:37:30 -07:00
rand Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
rt Register new snapshots 2015-04-28 17:23:45 -07:00
sync Auto merge of #24392 - seanmonstar:lint-transmute-mut, r=alexcrichton 2015-05-06 22:27:58 +00:00
sys std: Mark mem::forget as a safe function 2015-05-07 17:25:04 -07:00
thread rollup merge of #24926: frewsxcv/patch-20 2015-04-29 15:45:49 -07:00
time std: Remove deprecated/unstable num functionality 2015-04-21 11:37:43 -07:00
array.rs rustdoc: Support for "array" primitive 2015-03-23 14:02:34 -07:00
ascii.rs Model lexer: Fix remaining issues 2015-04-21 12:02:12 +02:00
bool.rs Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
dynamic_lib.rs std: Prepare for linking to musl 2015-04-27 10:11:15 -07:00
env.rs std: Generalize generics a bit in std::env 2015-05-05 16:06:21 -07:00
error.rs std: Don't use a wrapper for the float error type 2015-05-01 16:44:36 -07:00
fs.rs Remove unnecessary 'mut' qualifier on doc-comment var 2015-04-30 19:20:59 -04:00
lib.rs Fallout 2015-04-29 08:55:31 -07:00
macros.rs Auto merge of #25101 - alexcrichton:fix-flaky-windows-test, r=nikomatsakis 2015-05-05 12:55:17 +00:00
panicking.rs std: Don't assume thread::current() works on panic 2015-04-27 16:15:36 -07:00
path.rs Fix spelling errors in documentation. 2015-05-04 13:21:27 -04:00
process.rs Update process.rs 2015-04-29 18:21:23 -04:00
rtdeps.rs std: Prepare for linking to musl 2015-04-27 10:11:15 -07:00
thunk.rs Remove Thunk struct and Invoke trait; change Thunk to be an alias 2015-04-01 14:41:21 -04:00
tuple.rs Remove doc-comment default::Default imports 2015-04-22 09:42:36 -04:00
unit.rs