From a1bca5257642fc3fcb57f173df725f6ba936462b Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Wed, 30 Jun 2021 19:55:44 -0700 Subject: [PATCH] Replace removed external_doc attr --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8c8469a..d95fee2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,6 @@ -#![cfg_attr(feature = "nightly", feature(external_doc))] - #![forbid(unsafe_code)] -#![cfg_attr(feature = "nightly", doc(include = "../README.md"))] -#![cfg_attr(not(feature = "nightly"), doc = "See [README.md](https://github.com/MingweiSamuel/Riven#readme).")] +#![doc = include_str!("../README.md")] // Re-exported reqwest types. pub use reqwest;