Skip to content

Commit fd32037

Browse files
pepyakinggwpez
andauthored
simplify build 2 (#14)
Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
1 parent 59bb4e2 commit fd32037

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

proc-macro-warning/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../README.md

proc-macro-warning/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
* SPDX-License-Identifier: (GPL-3.0 or Apache-2.0)
44
*/
55

6-
// Publishing builds the crate outside of the workspace and leads it to have a different root path:
7-
#![cfg_attr(feature = "publish", doc = include_str!("../README.md"))]
8-
#![cfg_attr(not(feature = "publish"), doc = include_str!("../../README.md"))]
6+
#![doc = include_str!("../README.md")]
97
#![deny(unsafe_code)]
108
#![deny(missing_docs)]
119

0 commit comments

Comments
 (0)