Skip to content

Commit ab0f884

Browse files
committed
Delete 1.36+ caveat from descriptions of alloc feature
1 parent 486598b commit ab0f884

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ std = ["serde/std"]
5050
# Provide integration for heap-allocated collections without depending on the
5151
# rest of the Rust standard library.
5252
# NOTE: Disabling both `std` *and* `alloc` features is not supported yet.
53-
# Available on Rust 1.36+.
5453
alloc = ["serde/alloc"]
5554

5655
# Make serde_json::Map use a representation which maintains insertion order.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ closed without a response after some time.
350350
## No-std support
351351

352352
As long as there is a memory allocator, it is possible to use serde_json without
353-
the rest of the Rust standard library. This is supported on Rust 1.36+. Disable
354-
the default "std" feature and enable the "alloc" feature:
353+
the rest of the Rust standard library. Disable the default "std" feature and
354+
enable the "alloc" feature:
355355

356356
```toml
357357
[dependencies]

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@
279279
//! # No-std support
280280
//!
281281
//! As long as there is a memory allocator, it is possible to use serde_json
282-
//! without the rest of the Rust standard library. This is supported on Rust
283-
//! 1.36+. Disable the default "std" feature and enable the "alloc" feature:
282+
//! without the rest of the Rust standard library. Disable the default "std"
283+
//! feature and enable the "alloc" feature:
284284
//!
285285
//! ```toml
286286
//! [dependencies]

0 commit comments

Comments
 (0)