Skip to content

Commit b2f903b

Browse files
authored
doc: fix nightly generation (#71)
* fix: add a temporary exception for a new lint ref: rust-lang/rust#82450 there will probably be a cleaner fix at some point (or even a change in how the nightly cfg is implemented) * fix: update a broken link in doc
1 parent 0087610 commit b2f903b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

honeycomb-core/src/cmap2/structure.rs

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
66
// ------ IMPORTS
77

8+
#[cfg(doc)]
9+
use crate::NULL_DART_ID;
10+
811
use super::CMAP2_BETA;
912
use crate::{AttrSparseVec, CoordsFloat, DartIdentifier, Vertex2};
1013
use std::collections::BTreeSet;

honeycomb-core/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
// ------ CUSTOM LINTS
1919

2020
// --- enable doc_auto_cfg feature if compiling in nightly
21+
#![allow(unexpected_cfgs)]
2122
#![cfg_attr(nightly, feature(doc_auto_cfg))]
2223
// --- some though love for the code
2324
#![warn(missing_docs)]

0 commit comments

Comments
 (0)