File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 88//! to the heap for larger allocations. This can be a useful optimization for improving cache
99//! locality and reducing allocator traffic for workloads that fit within the inline buffer.
1010//!
11- //! ## no_std support
11+ //! ## `alloc` support
1212//!
13- //! By default, `smallvec` depends on `libstd`. However, it can be configured to use the unstable
14- //! `liballoc` API instead, for use on platforms that have `liballoc` but not `libstd`. This
15- //! configuration is currently unstable and is not guaranteed to work on all versions of Rust.
16- //!
17- //! To depend on `smallvec` without `libstd`, use `default-features = false` in the `smallvec`
18- //! section of Cargo.toml to disable its `"alloc"` feature.
13+ //! By default, `smallvec` uses the `alloc` crate, which means that it can be used on platforms
14+ //! that have `liballoc` but not `libstd`.
1915//!
2016//! ## `union` feature
2117//!
You can’t perform that action at this time.
0 commit comments