Skip to content

Commit c00a9f6

Browse files
authored
Fix Rust dna sample writing to a temporary file (#7827)
1 parent 31d5943 commit c00a9f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/rust/dna/src/main.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ use rerun::{
1212
const NUM_POINTS: usize = 100;
1313

1414
fn main() -> Result<(), Box<dyn std::error::Error>> {
15-
let rec = rerun::RecordingStreamBuilder::new("rerun_example_dna_abacus")
16-
.save("/tmp/helix_chunks.rrd")?;
15+
let rec = rerun::RecordingStreamBuilder::new("rerun_example_dna_abacus").spawn()?;
1716

1817
let (points1, colors1) = color_spiral(NUM_POINTS, 2.0, 0.02, 0.0, 0.1);
1918
let (points2, colors2) = color_spiral(NUM_POINTS, 2.0, 0.02, TAU * 0.5, 0.1);

0 commit comments

Comments
 (0)