Skip to content

Commit 5b87495

Browse files
authored
fix doc for allocator-api2 Cargo.toml usage (#3330)
1 parent fecd592 commit 5b87495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp-alloc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
//! you will need it for the `Box` and `Vec` types.
9292
//!
9393
//! ```toml
94-
//! allocator-api2 = { version = "0.2", features = ["alloc"] }
94+
//! allocator-api2 = { version = "0.2", default-features = false, features = ["alloc"] }
9595
//! ```
9696
//!
9797
//! With this, you can use the `Box` and `Vec` types from `allocator_api2`, with

0 commit comments

Comments
 (0)