Skip to content

Commit 402d3cc

Browse files
authored
Merge pull request #404 from newAM/rm-vec-const-assert
Vec: remove do-nothing assertion
2 parents 45517a5 + c6e7c8f commit 402d3cc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/vec.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ impl<T, const N: usize> Vec<T, N> {
5858
/// ```
5959
/// `Vec` `const` constructor; wrap the returned value in [`Vec`](../struct.Vec.html)
6060
pub const fn new() -> Self {
61-
// Const assert N >= 0
62-
crate::sealed::greater_than_eq_0::<N>();
63-
6461
Self {
6562
len: 0,
6663
buffer: Self::INIT,

0 commit comments

Comments
 (0)