rust/library
bors 5ef872f961 Auto merge of #74605 - rust-lang:vec-leak, r=Amanieu
Stabilize Vec::leak as a method

Closes https://github.com/rust-lang/rust/issues/62195

The signature is changed to a method rather than an associated function:

```diff
-pub fn leak<'a>(vec: Vec<T>) -> &'a mut [T]
+pub fn leak<'a>(self) -> &'a mut [T]
```

The reason for `Box::leak` not to be a method (`Deref` to an arbitrary `T` which might have its own, different `leak` method) does not apply.
2020-08-01 22:29:30 +00:00
..
alloc Auto merge of #74605 - rust-lang:vec-leak, r=Amanieu 2020-08-01 22:29:30 +00:00
backtrace@4083a90168 std: Switch from libbacktrace to gimli 2020-07-28 16:34:01 -07:00
core Auto merge of #74373 - lcnr:array_chunks, r=withoutboats 2020-08-01 06:54:14 +00:00
panic_abort mv std libs to library/ 2020-07-27 19:51:13 -05:00
panic_unwind mv std libs to library/ 2020-07-27 19:51:13 -05:00
proc_macro mv std libs to library/ 2020-07-27 19:51:13 -05:00
profiler_builtins mv std libs to library/ 2020-07-27 19:51:13 -05:00
rtstartup mv std libs to library/ 2020-07-27 19:51:13 -05:00
rustc-std-workspace-alloc mv std libs to library/ 2020-07-27 19:51:13 -05:00
rustc-std-workspace-core mv std libs to library/ 2020-07-27 19:51:13 -05:00
rustc-std-workspace-std mv std libs to library/ 2020-07-27 19:51:13 -05:00
std Auto merge of #74926 - Manishearth:rename-lint, r=jyn514 2020-07-31 02:20:47 +00:00
stdarch@311d56cd91 Update stdarch submodule 2020-07-28 09:41:09 -07:00
term mv std libs to library/ 2020-07-27 19:51:13 -05:00
test mv std libs to library/ 2020-07-27 19:51:13 -05:00
unwind mv std libs to library/ 2020-07-27 19:51:13 -05:00