From d15abddd6369f44886176710876993a83857bc3e Mon Sep 17 00:00:00 2001 From: Jesus Hernandez Date: Sun, 18 Apr 2021 20:52:22 +0200 Subject: [PATCH] refactor: Use extended key value attributes feature instead of external doc See: - https://github.com/rust-lang/rust/pull/83366 - https://github.com/rust-lang/rust/issues/44732 - https://github.com/rust-lang/rust/pull/82539 --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 650044f..2ca1707 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ -#![feature(external_doc)] -#![doc(include = "../README.md")] // This also allow to run examples in that file. +#![feature(extended_key_value_attributes)] +#![doc = include_str!("../README.md")] // This also allow to run examples in that file. #![allow(unsafe_code)] #![warn(missing_docs)]