Skip to content

Commit e424374

Browse files
committed
Remove alloc feature from doc
1 parent 527db0f commit e424374

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,9 @@
6363
//!
6464
//! # Crate features
6565
//!
66-
//! - `std` (default): Implies `alloc` and `impl-error`. Required for [`Authority::socket_addrs`].
66+
//! - `std` (default): Implies `impl-error`. Required for [`Authority::socket_addrs`].
6767
//!
68-
//! - `alloc`: Required for memory-allocating types and functions.
69-
//!
70-
//! - `impl-error`: Required for [`Error`] implementations. Disabling `std`
68+
//! - `impl-error` (default): Required for [`Error`] implementations. Disabling `std`
7169
//! while enabling `impl-error` requires a minimum Rust version of 1.81.
7270
//!
7371
//! - `net`: Required for IP address fields in [`Host`], for [`Builder::host`] to

0 commit comments

Comments
 (0)