Ivan Tham
20a68666d8
Try removing [prim@reference]
2020-08-30 09:17:22 +08:00
Ivan Tham
bb5e79cbd1
Link vec doc to & reference
...
It is not always obvious that people could see the docs for `&`
especially for beginners, it also helps learnability.
2020-08-29 18:47:11 +08:00
Ivan Tham
adc492573e
Shorten liballoc vec resize intra-doc link
2020-08-24 20:52:41 +08:00
Josh Stone
f29f21285e
Rollup merge of #75672 - kofls:intradoc-fix, r=jyn514
...
Move to intra-doc links for task.rs and vec.rs
Partial fix for #75080
links for [`get`], [`get_mut`] skipped due to #75643
link for [`copy_from_slice`] skipped due to #63351
2020-08-20 10:07:19 -07:00
Surya Midatala
632db79ad6
Apply suggestions from code review
2020-08-19 10:29:31 +05:30
Josh Stone
7551f3fbbd
Don't panic in Vec::shrink_to_fit
2020-08-18 11:45:40 -07:00
Surya Midatala
11f69796ee
Move to intra-doc links for task.rs and vec.rs
2020-08-18 21:47:23 +05:30
Tyler Mandry
3111a8c1e2
Rollup merge of #74185 - pickfire:liballoc-iter-doc, r=jyn514
...
Remove liballoc unneeded explicit link
2020-08-14 14:46:40 -07:00
Ivan Tham
d2ecfcf21d
Update liballoc vec doc link
2020-08-14 10:52:09 +08:00
Ivan Tham
e0d215ff9e
Update src/liballoc/vec.rs
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-14 10:50:30 +08:00
Ivan Tham
dba647ef32
Remove liballoc unneeded explicit link
2020-08-14 10:50:30 +08:00
Ivan Tham
e4f2de2e9a
Fix range term in alloc vec doc
...
`range` is not an element, it is a variable.
2020-08-11 23:57:13 +08:00
bors
e18b56345f
Auto merge of #75033 - Manishearth:rollup-d8afil1, r=Manishearth
...
Rollup of 5 pull requests
Successful merges:
- #74602 (Clarify the doc for MaybeUninit::zeroed on incorrect use)
- #74720 (Clean up E0728 explanation)
- #74992 (fix rustdoc generic param order)
- #75015 (Add Vec::spare_capacity_mut)
- #75022 (Use a slice pattern instead of rchunks_exact(_).next())
Failed merges:
r? @ghost
2020-08-02 01:04:54 +00:00
Amanieu d'Antras
df3a30aee4
Add Vec::spare_capacity_mut
2020-08-01 18:24:35 +01:00
Simon Sapin
7d759f539f
Stabilize Vec::leak
2020-07-29 10:53:55 +02:00
Simon Sapin
d8bcf75206
Make Vec::leak
a method instead of an associated function.
...
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-07-29 10:53:55 +02:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00