Skip to content

Commit

Permalink
fix(tagged): build error on release
Browse files Browse the repository at this point in the history
  • Loading branch information
CHr15F0x committed Jun 28, 2024
1 parent 3670fe1 commit 1117b40
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/tagged/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//! Tagging is meant to be used in tests only, but because `[cfg(test)]` cannot
//! be _exported_ we're using the closest build configuration option.
#![cfg(debug_assertions)]

//! be _exported_ we're using the closest build configuration option within the
//! implementation, which is `[cfg(debug_assertions)]`. As an additional safety
//! measure, the [`tagged::init()`](crate::init()) function must be called
//! before using the `tagged::Tagged` type.
use std::any::{Any, TypeId};
use std::collections::HashMap;
use std::fmt::{Debug, Formatter};
Expand Down

0 comments on commit 1117b40

Please sign in to comment.