std::vec: move documentation from impls to traits.

This means the text is visible in rustdoc.