From cbf2e8dfeb19f55cef86b25f0ea745c5a1cedcec Mon Sep 17 00:00:00 2001 From: frisitano Date: Mon, 9 Dec 2024 12:50:51 +0000 Subject: [PATCH] lint: conditionally include zktrie spec when doctest not being run --- crates/scroll/trie/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/scroll/trie/src/lib.rs b/crates/scroll/trie/src/lib.rs index f4a20dfb2ae7..c5cd075acc76 100644 --- a/crates/scroll/trie/src/lib.rs +++ b/crates/scroll/trie/src/lib.rs @@ -1,7 +1,7 @@ //! Fast binary Merkle-Patricia Trie (zktrie) state root calculator and proof generator for //! prefix-sorted bits. -#![doc = include_str!("../assets/zktrie.md")] +#![cfg_attr(not(doctest), doc = include_str!("../assets/zktrie.md"))] #[macro_use] #[allow(unused_imports)]