It seems that you missed compile_fail
tests which shows that is_filled
wouldn't be propagated on Vec
; and since ArrayVec
implements Deref
similarily, it wouldn't have is_filled
either.
1 Like
This seems strictly less useful than an is_not_empty
method (or !x.is_empty()
) which fills the exact same use cases but can be used with Vec, ArrayVec, SmallVec, Box<[T]>
, etc.
4 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.