mirror of
https://gitee.com/openharmony/third_party_rust_tinyvec
synced 2024-11-27 07:40:31 +00:00
std
feature now automatically activates the alloc
feature
Closes https://github.com/Lokathor/tinyvec/issues/159
This commit is contained in:
parent
a53c254b88
commit
7b3392a8c4
@ -23,7 +23,7 @@ default = []
|
||||
alloc = ["tinyvec_macros"]
|
||||
|
||||
# Provide things that require Rust's `std` module
|
||||
std = []
|
||||
std = ["alloc"]
|
||||
|
||||
# (not part of Vec!) Extra methods to let you grab the slice of memory after the
|
||||
# "active" portion of an `ArrayVec` or `SliceVec`.
|
||||
|
Loading…
Reference in New Issue
Block a user