You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… inside.
Now there's one drawback that in some case SmallVec<A> won't be
supported where A is still smallvec::Array but isn't [T; N]. However, it
should be OK in reality, given smallvec itself is going to be SmallVec<T, N>
instead of SmallVec<[T; N]> with removing this.
Context: servo/rust-smallvec#183
These are changes that weren't ready in time for 1.0 (#73).
Requires newer version of Rust than current minimum (1.36):
SmallVec<[T; N]>
toSmallVec<T, N>
. Remove theArray
trait. (RFC: rewrite based on min_const_generics for 2.0 #240, Rust 1.51).union
representation by default and remove the optionalunion
feature added in Use a union to reduce the size of SmallVec [v2] #94 (Rust 1.49).SmallVec::new
aconst fn
(MakeSmallVec::new
const #263).Depends on unstable Rust features:
extend
,insert_many
, andfrom
for slices ofCopy
types. Deprecate and removeextend_from_slice
,insert_from_slice
, andfrom_slice
(Tracking issue for specialization (RFC 1210) rust-lang/rust#31844).Error
trait without requiringstd
(Implementstd::error::Error
forCollectionAllocErr
#355, Tracking Issue forError
incore
rust-lang/rust#103765).Breaking API changes:
SmallVec<[T; N]>
overT
(SmallVec<[T; N]> is invariant over T #146)?ExtendFromSlice
trait.&self
parameter frominline_size
method.write
feature and add astd
feature instead (Implementstd::error::Error
forCollectionAllocErr
#355, feat: replacewrite
feature withstd
feature #356).insert_many
method (Deprecate insert_many (and add splice?) #255)?The text was updated successfully, but these errors were encountered: