summaryrefslogtreecommitdiff
path: root/games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch
blob: 780ff8b40e8a0ec058a2f3a362416dff0e0ff06d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Fix build

error[E0658]: arbitrary expressions in key-value attributes are unstable
 --> /mnt/portagetmp/portage/games-rpg/rpg-cli-1.0.0/work/cargo_home/gentoo/clap-3.0.0-beta.4/src/lib.rs:8:10
  |
8 | #![doc = include_str!("../README.md")]
  |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information

--- a/src/lib.rs
+++ b/src/lib.rs
@@ -5,7 +5,6 @@
 
 #![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
 #![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.4")]
-#![doc = include_str!("../README.md")]
 //! <https://github.com/clap-rs/clap>
 #![crate_type = "lib"]
 #![deny(