mirror of
https://github.com/132nd-vWing/tacview-splitter.git
synced 2026-10-25 05:39:49 +01:00
use auto-deref for Arcs
This commit is contained in:
1 parent
e51e57505e
commit
61cfbd3e13
1 file changed
+3
-3
+3
-3
@@ -145,15 +145,15 @@ impl OutputData {
|
||||
let i = self.input_filename.clone();
|
||||
|
||||
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}"))
|
||||
.unwrap();
|
||||
writer
|
||||
.write_strings(&*h)
|
||||
.write_strings(&h)
|
||||
.with_context(|| format!("could not write header for {c}"))
|
||||
.unwrap();
|
||||
writer
|
||||
.write_for_coalition(&*b, &*cpl, &c)
|
||||
.write_for_coalition(&b, &cpl, &c)
|
||||
.with_context(|| format!("could not write body for {c}"))
|
||||
.unwrap();
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user