diff --git a/honeycomb-core/src/cmap2/structure.rs b/honeycomb-core/src/cmap2/structure.rs index f9af964ad..1929740ac 100644 --- a/honeycomb-core/src/cmap2/structure.rs +++ b/honeycomb-core/src/cmap2/structure.rs @@ -5,6 +5,9 @@ // ------ IMPORTS +#[cfg(doc)] +use crate::NULL_DART_ID; + use super::CMAP2_BETA; use crate::{AttrSparseVec, CoordsFloat, DartIdentifier, Vertex2}; use std::collections::BTreeSet; diff --git a/honeycomb-core/src/lib.rs b/honeycomb-core/src/lib.rs index b4b65212c..4bf5c2db5 100644 --- a/honeycomb-core/src/lib.rs +++ b/honeycomb-core/src/lib.rs @@ -18,6 +18,7 @@ // ------ CUSTOM LINTS // --- enable doc_auto_cfg feature if compiling in nightly +#![allow(unexpected_cfgs)] #![cfg_attr(nightly, feature(doc_auto_cfg))] // --- some though love for the code #![warn(missing_docs)]