Update documentation for from_raw_parts

Fixes #19269.
auto merge of #19306 : steveklabnik/rust/gh19269, r=nikomatsakis,brson

Fixes #19269.

/cc @thestinger @mahkoh @mitsuhiko
Merge remote-tracking branch 'upstream/master'