about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJOE1994 <joseph942010@gmail.com>2020-05-31 14:37:26 -0400
committerJOE1994 <joseph942010@gmail.com>2020-05-31 14:37:26 -0400
commitdd0338fbac143cb0c3844575f5ae4406854b56c5 (patch)
treed46df8b13d60d462ed5d65bef316fb01a1507904 /library/std/src/sys/unix/stack_overflow.rs
parentf6072cab136beea206b7cfe79f8d10fccf5af591 (diff)
downloadrust-dd0338fbac143cb0c3844575f5ae4406854b56c5.tar.gz
rust-dd0338fbac143cb0c3844575f5ae4406854b56c5.zip
Clarify terms in doc comments
Doc comments of 'copy_from_slice' say that people should use 'clone_from_slice'
when 'src' doesn't implement 'Copy'. However, 'src' is a reference and
it always implements 'Copy'. The term 'src' should be fixed to 'T' in
the doc comments.

Thank you for reviewing this PR :)
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions