rust/library/std/src
Yuki Okushi ceed619194
Rollup merge of #86051 - erer1243:update_move_keyword_docs, r=Mark-Simulacrum
Updated code examples and wording in move keyword documentation

Had a conversation with someone on the Rust Discord who was confused by the move keyword documentation. Some of the wording is odd sounding ("owned by value" - what else can something be owned by?). Also, some of the examples used Copy types when demonstrating move, leading to variables still being accessible in the outer scope after the move, contradicting the examples' comments.

I changed the move keyword documentation a bit, removing that odd wording and changing all the examples to use non-Copy types
2021-06-10 11:02:13 +09:00
..
backtrace Add Frames iterator for Backtrace 2021-01-23 11:56:33 -06:00
collections Rollup merge of #84328 - Folyd:stablize_map_into_keys_values, r=m-ou-se 2021-05-06 13:30:54 +02:00
env
error
f32
f64
ffi Add inline attr to private CString::into_inner 2021-05-26 13:12:54 +03:00
fs Fix test metadata_access_times to also check for Unsupported 2021-04-18 09:29:24 +02:00
io Forwarding implementation for Seek trait's stream_position method 2021-06-07 19:21:22 -04:00
lazy Upgrade wasm32 image to Ubuntu 20.04 2021-02-06 13:05:56 +01:00
net Rollup merge of #85791 - CDirkx:is_unicast, r=joshtriplett 2021-06-09 12:04:01 +09:00
num
os Not implement os::unix::fs::chroot for vxworks 2021-05-20 01:37:57 +02:00
panic
path
prelude Add tracking issue for edition-specific preludes. 2021-05-25 19:58:39 +02:00
process
sync Multiple improvements to RwLocks 2021-06-01 09:07:55 +02:00
sys Rollup merge of #84687 - a1phyr:improve_rwlock, r=m-ou-se 2021-06-10 11:02:10 +09:00
sys_common Multiple improvements to RwLocks 2021-06-01 09:07:55 +02:00
thread std: Don't inline TLS accessor on MinGW 2021-05-20 12:45:05 -07:00
time
alloc.rs Rename rterr to rtprintpanic 2021-05-19 15:52:09 +02:00
ascii.rs
backtrace.rs Add Frames iterator for Backtrace 2021-01-23 11:56:33 -06:00
env.rs change k to key and v to v in std::env mod 2021-05-10 19:31:09 +08:00
error.rs Document "standard" conventions for error messages 2021-04-02 15:11:49 +03:00
f32.rs doc: cube root, not cubic root 2021-02-26 19:03:44 +01:00
f64.rs doc: cube root, not cubic root 2021-02-26 19:03:44 +01:00
fs.rs Move the implementation of Path::exists to sys_common::fs so platforms can specialize it 2021-05-19 23:54:56 +01:00
keyword_docs.rs Updated code examples and wording 2021-06-05 23:44:21 -04:00
lazy.rs Use DebugStruct::finish_non_exhaustive() in std. 2021-03-27 13:29:23 +01:00
lib.rs rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
macros.rs Change "etc." to "and similar" 2021-05-13 15:02:02 +01:00
num.rs
panic.rs Add #[track_caller] to panic_any 2021-05-27 14:19:47 +03:00
panicking.rs Rollup merge of #84687 - a1phyr:improve_rwlock, r=m-ou-se 2021-06-10 11:02:10 +09:00
path.rs Rollup merge of #85760 - ChrisDenton:path-doc-platform-specific, r=m-ou-se 2021-06-05 19:41:43 +02:00
primitive_docs.rs remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
process.rs impl crate::error::Error for ExitStatusError 2021-05-12 11:12:20 +01:00
rt.rs Remove Once from init 2021-04-22 18:00:18 +02:00
time.rs Fix invalid align attribute generation on <td> elements 2021-06-04 10:10:13 +02:00