thin-vec icon indicating copy to clipboard operation
thin-vec copied to clipboard

Fix `unstable` feature.

Open zachs18 opened this issue 1 year ago • 0 comments

Currently, enabling the unstable cargo feature of thin-vec does not enable the Rust nightly feature trusted_len, so cargo +nightly build --features=unstable always fails. This PR adds #![cfg_attr(feature = "unstable", feature(trusted_len))] to remedy that.

Alternately, the fact that this hasn't been reported may indicate that the unstable feature is not used in the wild and could just be removed (or leave the feature itself and only remove the two TrustedLen impls gated under it).

zachs18 avatar Aug 01 '24 05:08 zachs18