From: bors Date: Wed, 21 May 2014 06:31:30 +0000 (-0700) Subject: auto merge of #14259 : alexcrichton/rust/core-mem, r=brson X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=4afc15e30c582d0ef994f12fc5eaa90bcaeab180;p=rust.git auto merge of #14259 : alexcrichton/rust/core-mem, r=brson Excluding the functions inherited from the cast module last week (with marked stability levels), these functions received the following treatment. * size_of - this method has become #[stable] * nonzero_size_of/nonzero_size_of_val - these methods have been removed * min_align_of - this method is now #[stable] * pref_align_of - this method has been renamed without the `pref_` prefix, and it is the "default alignment" now. This decision is in line with what clang does (see url linked in comment on function). This function is now #[stable]. * init - renamed to zeroed and marked #[stable] * uninit - marked #[stable] * move_val_init - renamed to overwrite and marked #[stable] * {from,to}_{be,le}{16,32,64} - all functions marked #[stable] * swap/replace/drop - marked #[stable] * size_of_val/min_align_of_val/align_of_val - these functions are marked #[unstable], but will continue to exist in some form. Concerns have been raised about their `_val` prefix. --- 4afc15e30c582d0ef994f12fc5eaa90bcaeab180