From 0fcf15070741f41fbc168f8535388a700f9d54d7 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 16 Aug 2022 10:51:40 +0200 Subject: [PATCH] some links added --- README.md | 4 ++-- src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ee6291..7a99e70 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ deserializing them with an appropriate `serde` provider like Default features: - - `std`: Enables functionality relying on the standard library. - - `alloc`: (https://doc.rust-lang.org/alloc/): Enables features which operate on containers + - [`std`](https://doc.rust-lang.org/std/): Enables functionality relying on the standard library. + - [`alloc`](https://doc.rust-lang.org/alloc/): Enables features which operate on containers like [`alloc::vec::Vec`](https://doc.rust-lang.org/beta/alloc/vec/struct.Vec.html). Enabled by the `std` features. diff --git a/src/lib.rs b/src/lib.rs index 0d88244..3ddf5be 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,7 +25,7 @@ //! //! Default features: //! -//! - `std`: Enables functionality relying on the standard library. +//! - [`std`](https://doc.rust-lang.org/std/): Enables functionality relying on the standard library. //! - [`alloc`](https://doc.rust-lang.org/alloc/): Enables features which operate on containers //! like [`alloc::vec::Vec`](https://doc.rust-lang.org/beta/alloc/vec/struct.Vec.html). //! Enabled by the `std` features.