mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Fix comparison
This commit is contained in:
parent
31f61d81f1
commit
5d42fe4448
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ impl<T> RocList<T> {
|
|||
where
|
||||
T: Clone,
|
||||
{
|
||||
assert!(capacity >= 0);
|
||||
assert!(capacity > 0);
|
||||
assert!(slice.len() <= capacity);
|
||||
|
||||
let ptr = slice.as_ptr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue