Update documentation for from_raw_parts

Fixes #19269.

/cc @thestinger @mahkoh @mitsuhiko