]> git.lizzy.rs Git - rust.git/commit
Avoid latent (harmless) overflow in core::slice.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 30 Apr 2015 23:00:48 +0000 (01:00 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 4 May 2015 07:57:42 +0000 (09:57 +0200)
commit42cb2de1393b067f1078f0c8b55322620e6058ef
treec433cbbd5c25974de08815d6b37e8876651a3693
parentf9ecc6e888c2ad5ad60971b3b4af387739099ae1
Avoid latent (harmless) overflow in core::slice.

This overflow does not cause any problems; it just causes errors to be
signalled when compiling with `-C debug-assertions`.

Fix #24997
src/libcore/slice.rs