rust/library/core/src
bors aa81d32165 Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAus
Use Arc::clone and Rc::clone in documentation

This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.

@rustbot modify labels: T-doc
2020-09-06 12:34:31 +00:00
..
alloc Auto merge of #75687 - TimDiekmann:realloc-align, r=Amanieu 2020-08-26 10:44:28 +00:00
array rename MaybeUninit slice methods 2020-09-05 17:24:22 +02:00
char Use intra-doc-links in core::{char, macros, fmt} 2020-08-24 00:13:23 +02:00
convert add i32::MAX link 2020-08-30 17:07:50 +05:30
fmt rename MaybeUninit slice methods 2020-09-05 17:24:22 +02:00
future Remove unnecessary intra-doc link 2020-08-27 19:42:23 -07:00
hash Switch to intra-doc links in core::hash 2020-08-27 12:09:50 -07:00
iter Auto merge of #70793 - the8472:in-place-iter-collect, r=Amanieu 2020-09-03 21:20:21 +00:00
macros Rollup merge of #74880 - chrisduerr:fix_matches, r=dtolnay 2020-09-01 18:24:23 -07:00
mem document remaining unsafety in maybe_uninit.rs 2020-09-05 17:24:22 +02:00
num rename MaybeUninit slice methods 2020-09-05 17:24:22 +02:00
ops Format ControlFlow changes with rustfmt 2020-09-02 14:12:21 -05:00
prelude mv std libs to library/ 2020-07-27 19:51:13 -05:00
ptr Rollup merge of #75917 - poliorcetics:intra-doc-core-nonnull, r=jyn514 2020-08-30 01:43:50 +02:00
slice rename MaybeUninit slice methods 2020-09-05 17:24:22 +02:00
str Disambiguate char -> prim@char for core 2020-08-23 22:40:20 -04:00
sync Move to Arc::clone(&x) over x.clone() in library/core 2020-08-30 22:14:17 +02:00
task apply bootstrap cfgs 2020-08-26 10:17:31 +02:00
unicode mv std libs to library/ 2020-07-27 19:51:13 -05:00
any.rs Use intra-doc links 2020-08-14 20:50:38 +02:00
ascii.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
bool.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
borrow.rs Remove AsRef link as it is in the prelude 2020-08-10 20:29:20 +02:00
cell.rs add track_caller to RefCell::{borrow, borrow_mut} 2020-07-28 15:45:25 -04:00
clone.rs Improve readability 2020-09-01 19:56:32 +02:00
cmp.rs Revert #75463 2020-08-31 10:22:14 -07:00
default.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
ffi.rs Use intra-doc-links in core::{raw, ffi, pin} 2020-08-22 22:25:27 +02:00
hint.rs Fix typo in std::hint::black_box docs 2020-08-27 01:16:18 +02:00
internal_macros.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
intrinsics.rs Don't import atomics unless supported by the platform 2020-08-23 23:11:47 -04:00
lazy.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
lib.rs Stabilize feature const_ordering 2020-08-30 23:48:54 +02:00
marker.rs Add back missing link 2020-09-02 15:48:35 -07:00
option.rs apply bootstrap cfgs 2020-08-26 10:17:31 +02:00
panic.rs Enhance wording 2020-09-01 18:16:34 +02:00
panicking.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
pin.rs Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAus 2020-09-06 12:34:31 +00:00
primitive.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
raw.rs Use intra-doc-links in core::{raw, ffi, pin} 2020-08-22 22:25:27 +02:00
result.rs apply bootstrap cfgs 2020-08-26 10:17:31 +02:00
time.rs Add link for Duration 2020-08-09 23:26:42 +02:00
tuple.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
unit.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00