Skip to content

Commit

Permalink
Fix failing nightly (#8862)
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 authored Jan 30, 2025
1 parent 46bca88 commit e3990f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions crates/viewer/re_blueprint_tree/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ re_viewport_blueprint = { workspace = true, features = ["testing"] }

egui_kittest.workspace = true
insta = { workspace = true, features = ["redactions", "yaml"] }
smallvec = { workspace = true, features = ["serde"] }
14 changes: 7 additions & 7 deletions docs/snippets/all/tutorials/custom_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ impl rerun::AsComponents for CustomPoints3D {
.as_serialized_batches()
.into_iter()
.chain(
[self
.confidences
.as_ref()
.and_then(|batch| batch.serialized())
.map(|batch|
std::iter::once(
self.confidences
.as_ref()
.and_then(|batch| batch.serialized())
.map(|batch|
// Optionally override the descriptor with extra information.
batch
.or_with_archetype_name(|| "user.CustomPoints3D".into())
.or_with_archetype_field_name(|| "confidences".into()))]
.into_iter()
.or_with_archetype_field_name(|| "confidences".into())),
)
.flatten(),
)
.collect()
Expand Down

0 comments on commit e3990f8

Please sign in to comment.