]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #50591 - glandium:cleanup, r=dtolnay
authorAlex Crichton <alex@alexcrichton.com>
Thu, 10 May 2018 16:35:35 +0000 (11:35 -0500)
committerGitHub <noreply@github.com>
Thu, 10 May 2018 16:35:35 +0000 (11:35 -0500)
commit8b5f6921047edfdfb450a4997811ef10f4025a58
tree2439a1272071bc5a1aff028c63c9a3caacbaa1f7
parent1f1c65de4a8a9a10822012c065174bd24409e15a
parent9c4e5b3b6cbf9b31ac7bd74d760214e36e79bfff
Rollup merge of #50591 - glandium:cleanup, r=dtolnay

Restore RawVec::reserve* documentation

When the RawVec::try_reserve* methods were added, they took the place of
the ::reserve* methods in the source file, and new ::reserve* methods
wrapping the new try_reserve* methods were created. But the
documentation didn't move along, such that:
 - reserve_* methods are barely documented.
 - try_reserve_* methods have unmodified documentation from reserve_*,
   such that their documentation indicate they are panicking/aborting.

This moves the documentation back to the right methods, with a
placeholder documentation for the try_reserve* methods.