fix(rust): do not interpret readme doc comments as doc tests

This commit is contained in:
Amaan Qureshi 2025-09-04 03:31:43 -04:00 committed by Amaan Qureshi
parent 5fd818babe
commit 1d0ebd1065
6 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
#![doc = include_str!("./README.md")]
#![cfg_attr(not(any(test, doctest)), doc = include_str!("../README.md"))]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(docsrs, feature(doc_cfg))]