Update documentation for from_raw_parts

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