Skip to content

Commit

Permalink
Vec: remove do-nothing assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM committed Nov 1, 2023
1 parent 45517a5 commit c6e7c8f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ impl<T, const N: usize> Vec<T, N> {
/// ```
/// `Vec` `const` constructor; wrap the returned value in [`Vec`](../struct.Vec.html)
pub const fn new() -> Self {
// Const assert N >= 0
crate::sealed::greater_than_eq_0::<N>();

Self {
len: 0,
buffer: Self::INIT,
Expand Down

0 comments on commit c6e7c8f

Please sign in to comment.