rust/library/std/src/sys_common
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
..
bytestring std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
net std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
remutex std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
thread_local_key std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
wtf8 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
alloc.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
at_exit_imp.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
backtrace.rs Prevent __rust_begin_short_backtrace frames from being tail-call optimised away 2020-08-07 19:31:25 +01:00
bytestring.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
condvar.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fs.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
io.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
mod.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
mutex.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
net.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
os_str_bytes.rs Move to intra-doc links for wasi/ext/fs.rs, os_str_bytes.rs, primitive_docs.rs & poison.rs 2020-08-26 21:43:46 +05:30
poison.rs Move to Arc::clone(&x) over x.clone() in library/std 2020-08-30 21:59:43 +02:00
process.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
remutex.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
rwlock.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
tests.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
thread.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
thread_info.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
thread_local_dtor.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
thread_local_key.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
util.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
wtf8.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00