Commit 8a62e39
authored
Rollup merge of rust-lang#57589 - scottmcm:vec-set_len-debug_assert, r=alexcrichton
Add a debug_assert to Vec::set_len
Following the precedent of rust-lang#52972, which found llogiq/bytecount#42.
(This may well make a test fail; let's see what Travis says.)1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
| 823 | + | |
822 | 824 | | |
823 | 825 | | |
824 | 826 | | |
| |||
0 commit comments