Skip to content

Commit a445eb1

Browse files
authored
Fix rust api annoyances (#10660)
1 parent dad7703 commit a445eb1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/store/re_types_core/src/archetype.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ impl ArchetypeName {
117117
pub fn sanity_check(&self) {
118118
let full_name = self.0.as_str();
119119
debug_assert!(
120-
!full_name.starts_with("rerun.archetypes.rerun.archetypes.")
121-
&& !full_name.contains(':'),
120+
!full_name.starts_with("rerun.archetypes.rerun.archetypes."),
122121
"DEBUG ASSERT: Found archetype with full name {full_name:?}. Maybe some bad round-tripping?"
123122
);
124123
}

crates/top/re_sdk/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ pub use time::{TimeCell, TimePoint, Timeline};
114114

115115
pub use re_types::{
116116
Archetype, ArchetypeName, AsComponents, Component, ComponentBatch, ComponentDescriptor,
117-
ComponentType, DatatypeName, DeserializationError, DeserializationResult, Loggable,
118-
SerializationError, SerializationResult, SerializedComponentBatch, SerializedComponentColumn,
117+
ComponentIdentifier, ComponentType, DatatypeName, DeserializationError, DeserializationResult,
118+
Loggable, SerializationError, SerializationResult, SerializedComponentBatch,
119+
SerializedComponentColumn,
119120
};
120121

121122
pub use re_byte_size::SizeBytes;

0 commit comments

Comments
 (0)