chiark / gitweb /
Move OccK into prelude
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Feb 2021 11:48:48 +0000 (11:48 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Feb 2021 11:49:39 +0000 (11:49 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/hidden.rs
src/prelude.rs

index 173fc000dc8f319f26c7386ffa27fea3066168e2..dd1dde58846cbd1ca4fcfd650022c9d0f90af1a5 100644 (file)
@@ -6,7 +6,6 @@ use crate::prelude::*;
 
 use slotmap::secondary;
 
-type OccK = OccultationKind;
 type ONI = OldNewIndex;
 
 visible_slotmap_key!{ OccId(b'H') }
index ec5007b904a20fc447e2b8fd8d5494b4cb5aafef..9b929986561b8000078b37a6d69b3455ffc41bed 100644 (file)
@@ -144,6 +144,9 @@ pub type POEPP = PieceOpErrorPartiallyProcessed;
 pub type SvgE = SVGProcessingError;
 pub type SpE = SpecError;
 
+// hidden.rs
+pub type OccK = OccultationKind;
+
 // updates.rs
 pub type PUE = PreparedUpdateEntry;
 pub type PUFOS = PieceUpdateFromOpSimple;