about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Collapse)AuthorLines
2020-09-18Finish moving to intra doc links for std::syncAlexis Bourget-51/+34
2020-09-12Mark Once::new as #[inline].Mara Bos-0/+1
Without this, it was not inlined in SyncOnceCell::into_inner(), causing unecessary checks and dead code.
2020-09-06Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAusbors-17/+17
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-08-31std: move "mod tests/benches" to separate filesLzu Tao-2384/+2375
Also doing fmt inplace as requested.
2020-08-30Move to Arc::clone(&x) over x.clone() in library/stdAlexis Bourget-17/+17
2020-08-23Prefer https link for wikipedia URLsLzu Tao-1/+1
2020-08-22Use intra-doc-links in `std::sync::*`LeSeulArtichaut-136/+53
2020-08-02fix typosliuzhenyu-1/+1
2020-07-27mv std libs to library/mark-0/+8854