We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd081db commit aeb6ff7Copy full SHA for aeb6ff7
src/tree_interface.rs
@@ -390,7 +390,7 @@ impl TreeInterface {
390
for i in 0..num_samples {
391
let u = match isize::try_from(i) {
392
Ok(o) => unsafe { *(*(*self.as_ptr()).tree_sequence).samples.offset(o) },
393
- Err(e) => panic!("{e}"),
+ Err(e) => panic!("{}", e),
394
};
395
rv.push(u.into());
396
}
src/trees.rs
@@ -356,7 +356,7 @@ impl TreeSequence {
356
357
358
Ok(o) => NodeId::from(unsafe { *(*self.as_ptr()).samples.offset(o) }),
359
360
361
rv.push(u);
362
0 commit comments