summaryrefslogtreecommitdiff
path: root/candle-book/src/lib.rs
diff options
context:
space:
mode:
authorNicolas Patry <patry.nicolas@protonmail.com>2023-10-02 10:15:10 +0200
committerNicolas Patry <patry.nicolas@protonmail.com>2023-10-02 10:15:10 +0200
commit0baf5a1e19f9ee3c79f1ba9fa279b5c6e253d97a (patch)
tree07d77b8fb56d2c89e6c004a84f5efaf4f8353b10 /candle-book/src/lib.rs
parent4ac6039a42b8125f7888709fb718bfd41a73f2ac (diff)
downloadcandle-0baf5a1e19f9ee3c79f1ba9fa279b5c6e253d97a.tar.gz
candle-0baf5a1e19f9ee3c79f1ba9fa279b5c6e253d97a.tar.bz2
candle-0baf5a1e19f9ee3c79f1ba9fa279b5c6e253d97a.zip
Fixed PR warnings.
Diffstat (limited to 'candle-book/src/lib.rs')
-rw-r--r--candle-book/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/candle-book/src/lib.rs b/candle-book/src/lib.rs
index 54bbad82..a1ec1e94 100644
--- a/candle-book/src/lib.rs
+++ b/candle-book/src/lib.rs
@@ -1,4 +1,6 @@
-mod simplified;
+#[cfg(test)]
+pub mod simplified;
+
#[cfg(test)]
mod tests {
use anyhow::Result;