]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #91686 - dalcde:patch-1, r=dtolnay
authorMatthias Krüger <matthias.krueger@famsik.de>
Fri, 10 Dec 2021 21:41:25 +0000 (22:41 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Dec 2021 21:41:25 +0000 (22:41 +0100)
commit1d36c6ac2e169728ab2537a5b711360fbd1f8732
tree316acc707de464b61ef82e4aa4e05100379bede8
parent4286ade8c94bf3d9dbbafdf2c6acd001b56d3dd5
parent42f91047c82c07ab72b9a90bf996c81ef0700888
Rollup merge of #91686 - dalcde:patch-1, r=dtolnay

Fix `Vec::reserve_exact` documentation

The documentation previously said the new capacity cannot overflow `usize`, but in fact it cannot exceed `isize::MAX`.