Commit dd0338f
committed
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 :)1 parent f6072ca commit dd0338f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2173 | 2173 | | |
2174 | 2174 | | |
2175 | 2175 | | |
2176 | | - | |
| 2176 | + | |
2177 | 2177 | | |
2178 | 2178 | | |
2179 | 2179 | | |
| |||
2244 | 2244 | | |
2245 | 2245 | | |
2246 | 2246 | | |
2247 | | - | |
| 2247 | + | |
2248 | 2248 | | |
2249 | 2249 | | |
2250 | 2250 | | |
| |||
0 commit comments