Skip to content

Commit d15abdd

Browse files
committed
refactor: Use extended key value attributes feature instead of external doc
See: - rust-lang/rust#83366 - rust-lang/rust#44732 - rust-lang/rust#82539
1 parent 0eeb9ff commit d15abdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#![feature(external_doc)]
2-
#![doc(include = "../README.md")] // This also allow to run examples in that file.
1+
#![feature(extended_key_value_attributes)]
2+
#![doc = include_str!("../README.md")] // This also allow to run examples in that file.
33

44
#![allow(unsafe_code)]
55
#![warn(missing_docs)]

0 commit comments

Comments
 (0)