From 054fa0f405ad5d2f67abc58376fcc13586e3a458 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, remove nightly check on non_exhaustive. --- src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8b822da..d95fee2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,10 +1,6 @@ -#![cfg_attr(feature = "nightly", feature(non_exhaustive))] -#![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;