Fix: Run README.md example on the CI

Seems like `doc(include = "../README.md")` doesn't include the readme file as docs for the dummy struct. This might be due to a difference in Rust edition used back then or something
This commit is contained in:
meryacine committed 2022-07-17 18:33:56 +02:00
1 parent dd51380520
commit 9d2024434e
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -9,6 +9,6 @@
// You may not use this file except in accordance with one or both of these
// licenses.
#[doc(include = "../README.md")]
#[doc = include_str!("../README.md")]
#[cfg(doctest)]
pub struct ReadmeDoctests;