mirror of
https://github.com/132nd-vWing/tacview-splitter.git
synced 2026-08-26 07:48:37 +02:00
use auto-deref for Arcs
This commit is contained in:
+3
-3
@@ -145,15 +145,15 @@ impl OutputData {
|
|||||||
let i = self.input_filename.clone();
|
let i = self.input_filename.clone();
|
||||||
|
|
||||||
thread::spawn(move || {
|
thread::spawn(move || {
|
||||||
let mut writer = create_writer(z, &*i.clone(), &c)
|
let mut writer = create_writer(z, &i.clone(), &c)
|
||||||
.with_context(|| format!("could not create writer for {c}"))
|
.with_context(|| format!("could not create writer for {c}"))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
writer
|
writer
|
||||||
.write_strings(&*h)
|
.write_strings(&h)
|
||||||
.with_context(|| format!("could not write header for {c}"))
|
.with_context(|| format!("could not write header for {c}"))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
writer
|
writer
|
||||||
.write_for_coalition(&*b, &*cpl, &c)
|
.write_for_coalition(&b, &cpl, &c)
|
||||||
.with_context(|| format!("could not write body for {c}"))
|
.with_context(|| format!("could not write body for {c}"))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user